添加注释,修改分销设置提交方式,左侧菜单无法选中问题

This commit is contained in:
mabo
2021-07-23 18:05:05 +08:00
parent ae329419a6
commit 9130485631
66 changed files with 301 additions and 2758 deletions

View File

@@ -27,6 +27,7 @@ export default {
props: ['addressId'],
methods: {
// 选择地区回调
change(val, selectedData) {
/**
* @returns [regionId,region]
@@ -44,6 +45,7 @@ export default {
handleChangeOnSelect(value) {
this.changeOnSelect = value;
},
// 加载地区数据
loadData(item, callback) {
item.loading = true;
API_Setup.getChildRegion(item.value).then((res) => {
@@ -83,6 +85,7 @@ export default {
}
});
},
// 初始化
init() {
API_Setup.getChildRegion(this.id).then((res) => {
let way = [];
@@ -105,7 +108,6 @@ export default {
}
way.push(data);
});
this.data = way;
});
},