小程序获取参数方式不一样
This commit is contained in:
@@ -46,13 +46,12 @@ export default {
|
|||||||
list: [],
|
list: [],
|
||||||
areaName: '',
|
areaName: '',
|
||||||
$areaId: '',
|
$areaId: '',
|
||||||
pageShow: false
|
pageShow: false,
|
||||||
|
appName: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
onLoad(params) {
|
||||||
appName: v => v.$route.query?.appName || v.$options.appName
|
this.appName = params.appName || this.$options.appName
|
||||||
},
|
|
||||||
onLoad() {
|
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.areaId = this.$areaId
|
this.areaId = this.$areaId
|
||||||
this.areaName = this.$areaName
|
this.areaName = this.$areaName
|
||||||
|
|||||||
Reference in New Issue
Block a user