瀏覽代碼

2021-05-15

East 4 年之前
父節點
當前提交
ff0d0425a5
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/views/modules/basicdata/branch.vue

+ 8 - 1
src/views/modules/basicdata/branch.vue

@@ -208,7 +208,14 @@ export default {
               duration: 1000
             })
           } else {
-            this.$message.error('删除牧场失败');
+            this.$confirm(result.data.msg, '删除失败', {
+              confirmButtonText: '确定',
+              cancelButtonText: '取消',
+              type: 'warning'
+            }).then(() => {
+              console.log('牧场删除失败');
+            }).catch(() => {})
+            // this.$message.error('删除牧场失败');
           }
           this.resetForm()
           this.selectionDataList = []