sqg преди 4 години
родител
ревизия
28ac7a1723
променени са 2 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 8 1
      front-vue/src/views/service/company/coreCompanyManage.vue
  2. 3 1
      front-vue/src/views/service/company/supCompanyManage.vue

+ 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: "已取消冻结",
            
           });
+          }
         }); 
     },