Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
c6f51f5b
Commit
c6f51f5b
authored
Feb 17, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端 v1.2 1、push
parent
7394a4c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doctor.vue
src/doctor/Doctor.vue
+1
-1
common.js
src/utils/common.js
+1
-1
No files found.
src/doctor/Doctor.vue
View file @
c6f51f5b
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
5f47dee1-e87d-4421-b4d8-ee0e84c43549
'
token
=
'
30274653-2d53-478b-a7e2-690b53b32bab
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/utils/common.js
View file @
c6f51f5b
...
@@ -227,7 +227,7 @@ export function callMobile(handlerInterface, parameters) {
...
@@ -227,7 +227,7 @@ export function callMobile(handlerInterface, parameters) {
}
}
}
}
// 判断
ios还是安卓
// 判断
是否是ios
export
function
isIOSWebKit
()
{
export
function
isIOSWebKit
()
{
const
aa
=
window
.
navigator
.
userAgent
;
const
aa
=
window
.
navigator
.
userAgent
;
if
(
!!
aa
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
))
{
// ios端
if
(
!!
aa
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
))
{
// ios端
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment