升级到2.4.6

This commit is contained in:
zer0Black
2022-04-05 23:25:02 +08:00
parent b3665a1a55
commit 7e45498fc2
45 changed files with 1490 additions and 597 deletions
+6 -4
View File
@@ -8,7 +8,7 @@ export default class Area {
* 构造器
* @param express
*/
constructor() {
constructor(pcaa) {
let arr = []
const province = pcaa['86']
Object.keys(province).map(key=>{
@@ -17,9 +17,11 @@ export default class Area {
Object.keys(city).map(key2=>{
arr.push({id:key2, text:city[key2], pid:key, index:2});
const qu = pcaa[key2];
Object.keys(qu).map(key3=>{
arr.push({id:key3, text:qu[key3], pid:key2, index:3});
})
if(qu){
Object.keys(qu).map(key3=>{
arr.push({id:key3, text:qu[key3], pid:key2, index:3});
})
}
})
})
this.all = arr;