feat: 新增多标签Tab页内嵌模式

This commit is contained in:
Yer
2023-07-06 11:44:15 +08:00
parent 3c83179579
commit 6b697f9ecd
38 changed files with 255 additions and 136 deletions

View File

@@ -136,7 +136,7 @@ export default {
this.$nextTick(() => {
this.decorateData = "";
console.log(this.contentData.list.length);
// 如果当前楼层不为一
if (this.contentData.list.length > 1) {
// 如果当前最底层 给下一层赋值
@@ -156,13 +156,13 @@ export default {
// 点击楼层装修
handleComponent(val, index) {
console.warn(val)
this.selected = index;
this.$set(this, "decorateData", val);
},
// 右侧栏回调
handleDrawer(val) {
let newIndex = this.selected;
this.decorateData = "";

View File

@@ -145,7 +145,6 @@ export default {
this.saveDialog = false;
this.$Message.error("修改失败,请稍后重试");
}
console.log(res);
})
.catch((error) => {});
},
@@ -176,7 +175,6 @@ export default {
this.saveDialog = false;
this.$Message.error("保存失败,请稍后重试");
}
console.log(res);
})
.catch((error) => {});
},

View File

@@ -118,7 +118,6 @@ export default {
}
});
this.list = res.result.records;
console.log(this.list);
this.total = res.result.total;
});
},