优化提示
This commit is contained in:
@@ -66,7 +66,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
handleAdd(type) {
|
handleAdd(type) {
|
||||||
if (!this.form.id) {
|
if (!this.form.id) {
|
||||||
this.$modal.msgError("请先保存循环或轮询主步骤再新增子步骤!");
|
this.$modal.msgError("请先保存循环主步骤再新增子步骤!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.list.push({
|
this.list.push({
|
||||||
|
|||||||
@@ -68,6 +68,10 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleAdd(type) {
|
handleAdd(type) {
|
||||||
|
if (!this.form.id) {
|
||||||
|
this.$modal.msgError("请先保存轮询主步骤再新增子步骤!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.list.push({
|
this.list.push({
|
||||||
name: "",
|
name: "",
|
||||||
parentId: this.form.id,
|
parentId: this.form.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user