yuansh 2 years ago
parent
commit
b9e3c224fe
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/system/UserList.vue
  2. 1 1
      src/views/system/modules/AddressListRight.vue

+ 1 - 1
src/views/system/UserList.vue

@@ -325,7 +325,7 @@
       handleOk() {
         let ids = "";
         let that = this;
-        if(this.gongJiJin == '' || this.sheBao == ''){
+        if(this.gongJiJin == '' && this.sheBao == ''){
           this.$message.warning('请填写要修改的数据!');
           return false;
         }else{

+ 1 - 1
src/views/system/modules/AddressListRight.vue

@@ -28,7 +28,7 @@
     </div>
 
     <div class="table-operator" style="border-top: 5px">
-      <a-button @click="handleDelete" type="primary" icon="hdd">删除</a-button>
+      <a-button @click="handleDelete" type="primary" icon="hdd" v-has='"address:delete"'>删除</a-button>
     </div>
 
     <a-table