Browse Source

代码生成优化

雪忆天堂 3 years ago
parent
commit
d0cc511bbc

+ 1 - 1
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index-tree.vue.vm

@@ -532,7 +532,7 @@ export default {
         }).then(() => {
           this.getList();
           this.msgSuccess("删除成功");
-        })
+        }).catch((err)=>{})
     }
   }
 };

+ 1 - 1
ruoyi-modules/ruoyi-gen/src/main/resources/vm/vue/index.vue.vm

@@ -587,7 +587,7 @@ export default {
         }).then(() => {
           this.getList();
           this.msgSuccess("删除成功");
-        })
+        }).catch((err)=>{})
     },
 #if($table.sub)
 	/** ${subTable.functionName}序号 */