浏览代码

冻结提示

sqg 4 年之前
父节点
当前提交
28ac7a1723

+ 8 - 1
front-vue/src/views/service/company/coreCompanyManage.vue

@@ -520,7 +520,14 @@ export default {
           this.getList();
           this.msgSuccess("冻结成功");
         })
-        .catch(() => {
+        .catch((c) => {
+          if(c == "cancel"){
+          this.$message({
+            type: "warning",
+            message: "已取消冻结",
+           
+          });
+          }
         }); 
     },
 

+ 3 - 1
front-vue/src/views/service/company/supCompanyManage.vue

@@ -442,12 +442,14 @@ export default {
           this.getList();
           this.msgSuccess("冻结成功");
         })
-        .catch(() => {
+        .catch((c) => {
+          if(c == "cancel"){
           this.$message({
             type: "warning",
             message: "已取消冻结",
            
           });
+          }
         }); 
     },