Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
de34c683
Commit
de34c683
authored
Nov 19, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容ios10
parent
809f3f00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
babel.config.js
babel.config.js
+7
-1
mobileTop.vue
src/components/mobile/mobileTop.vue
+1
-1
vue.config.js
vue.config.js
+1
-1
No files found.
babel.config.js
View file @
de34c683
module
.
exports
=
{
module
.
exports
=
{
"presets"
:
[
"presets"
:
[
'@vue/app'
'@vue/app'
,
[
'@babel/preset-env'
,
{
useBuiltIns
:
'entry'
}
]
],
],
plugins
:[
"transform-remove-strict-mode"
]
plugins
:[
"transform-remove-strict-mode"
]
}
}
src/components/mobile/mobileTop.vue
View file @
de34c683
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
},
},
mounted
(){
mounted
(){
if
(
this
.
userInfo
.
roleList
[
0
].
roleType
==
5
){
if
(
this
.
userInfo
&&
this
.
userInfo
.
roleList
[
0
].
roleType
==
5
){
this
.
activeList
.
push
({
this
.
activeList
.
push
({
id
:
8
,
id
:
8
,
name
:
"serviceRecord"
name
:
"serviceRecord"
...
...
vue.config.js
View file @
de34c683
...
@@ -48,7 +48,7 @@ module.exports = {
...
@@ -48,7 +48,7 @@ module.exports = {
})
})
]
]
},
},
transpileDependencies
:[
'image-conversion'
],
devServer
:
{
devServer
:
{
port
:
8080
,
// 端口号
port
:
8080
,
// 端口号
host
:
'0.0.0.0'
,
host
:
'0.0.0.0'
,
...
...
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