Commit 57f72dd4 by zhangdaiscott

issues/I48I0E 省市三级联动列表无法显示

parent e2e19fa4
import Vue from 'vue'
/** /**
* 省市区 * 省市区
*/ */
...@@ -7,6 +8,9 @@ export default class Area { ...@@ -7,6 +8,9 @@ export default class Area {
* @param express * @param express
*/ */
constructor(pcaa) { constructor(pcaa) {
if(!pcaa){
pcaa = Vue.prototype.$Jpcaa;
}
let arr = [] let arr = []
const province = pcaa['86'] const province = pcaa['86']
Object.keys(province).map(key=>{ Object.keys(province).map(key=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment