取消pc楼层装修提示框,改为无痕更改

This commit is contained in:
lemon橪
2021-06-17 14:11:13 +08:00
parent d72ce4109d
commit 57ff6c8d70
2 changed files with 4 additions and 12 deletions

View File

@@ -40,15 +40,7 @@ export default {
methods: {
saveTemplate() {
// 保存模板
this.$Modal.confirm({
title: "是否立即发布?",
onOk: () => {
this.submitTemplate("OPEN");
},
onCancel: () => {
this.submitTemplate("CLOSE");
},
});
this.submitTemplate(this.$route.query.pageShow ? 'OPEN' : 'CLOSE')
},
// 提交模板
submitTemplate(pageShow) {