优化提示

This commit is contained in:
liangdaliang
2025-03-14 12:47:57 +08:00
parent c4e81c568d
commit 5c0b275eec
2 changed files with 5 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ export default {
methods: {
handleAdd(type) {
if (!this.form.id) {
this.$modal.msgError("请先保存循环或轮询主步骤再新增子步骤!");
this.$modal.msgError("请先保存循环主步骤再新增子步骤!");
return;
}
this.list.push({

View File

@@ -68,6 +68,10 @@ export default {
},
methods: {
handleAdd(type) {
if (!this.form.id) {
this.$modal.msgError("请先保存轮询主步骤再新增子步骤!");
return;
}
this.list.push({
name: "",
parentId: this.form.id,