|
@@ -66,10 +66,9 @@
|
|
|
init: function() {
|
|
|
const {checkedItem} = this.checkRent;
|
|
|
const {depType} = this.condition;
|
|
|
- const {checkRent, condition, checkMap} = this.editConfig;
|
|
|
// 编辑的时候不用获取数据
|
|
|
- if(this.editConfig && checkRent && depType === condition.depType && checkedItem.id === checkRent.checkedItem.id) {
|
|
|
- this.commit('checkMap', checkMap);
|
|
|
+ if(this.editConfig && this.editConfig.checkRent && depType === this.editConfig.condition.depType && checkedItem.id === this.editConfig.checkRent.checkedItem.id) {
|
|
|
+ this.commit('checkMap', this.editConfig.checkMap);
|
|
|
} else if(this.needReload) { // 点击上一步不用获取数据
|
|
|
if(!checkedItem.points) return;
|
|
|
let checkPointIds = checkedItem.points.map(({id})=> id);
|