Commit de34c683 authored by zhangyanni's avatar zhangyanni

兼容ios10

parent 809f3f00
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"]
} }
...@@ -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"
......
...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment