1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user