option
This commit is contained in:
@@ -120,13 +120,6 @@
|
||||
"pathRewrite": {
|
||||
"^/hzl": "/"
|
||||
}
|
||||
},
|
||||
"/baidu": {
|
||||
"target": "http://192.168.1.87:9000",
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/baidu": "/"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -42,8 +42,8 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad(option) { //type 0周边、1:国内
|
||||
// this.areaId = option.areaId
|
||||
// this.tabIndex = option.type
|
||||
this.areaId = option.areaId
|
||||
this.tabIndex = option.type || 0
|
||||
|
||||
// uni.$on('tourismBack', (res) => {
|
||||
// this.cityAreaId = res.cityAreaId
|
||||
|
||||
Reference in New Issue
Block a user