From baf371620ec713edb0c36e81adcadfd9cba9b60f Mon Sep 17 00:00:00 2001 From: zhangdaiscott <zhangdaiscott@163.com> Date: Sat, 11 Sep 2021 18:47:13 +0800 Subject: [PATCH] issues/I48I0E 省市三级联动列表无法显示 --- ant-design-vue-jeecg/src/components/_util/Area.js | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/ant-design-vue-jeecg/src/components/_util/Area.js b/ant-design-vue-jeecg/src/components/_util/Area.js index dda4721..a68675e 100644 --- a/ant-design-vue-jeecg/src/components/_util/Area.js +++ b/ant-design-vue-jeecg/src/components/_util/Area.js @@ -1,3 +1,4 @@ +import Vue from 'vue' /** * 省市区 */ @@ -7,6 +8,9 @@ export default class Area { * @param express */ constructor(pcaa) { + if(!pcaa){ + pcaa = Vue.prototype.$Jpcaa; + } let arr = [] const province = pcaa['86'] Object.keys(province).map(key=>{ -- libgit2 0.22.2