This commit is contained in:
caolc
2023-09-08 10:01:06 +08:00
parent 5adc52996c
commit 4d5aa4ac8d
12 changed files with 957 additions and 107 deletions

View File

@@ -103,9 +103,7 @@
},
areaCodeList1: {
type: Array,
default () {
return []
}
default:()=> []
},
menuList: {
type: Array,
@@ -124,7 +122,7 @@
},
mounted() {
if(this.areaCodeList1.length == 0){
this.areaCodeList = uni.getStorageSync('areaCodeList')
this.areaCodeList = uni.getStorageSync('areaCodeList') || []
}else{
this.areaCodeList = this.areaCodeList1
}