Browse Source

提交权限消失问题

caojunjie 4 years ago
parent
commit
30a447f9de
2 changed files with 1 additions and 3 deletions
  1. 1 2
      src/combination/listComponent.vue
  2. 0 1
      src/views/purchaseRequest/index.vue

+ 1 - 2
src/combination/listComponent.vue

@@ -4,13 +4,12 @@
       <div style="margin: 10px 12px;float: left;">
         <el-button
           v-for="(item,index) in customButton"
-          :key="index"
           :type="item.type"
           :size="item.size"
           :icon="item.icon"
           :plain="item.plain?item.plain:false"
           :disabled="item.disabled"
-          v-hasPermi="item.hasPermi?item.hasPermi:['']"
+          v-hasPermi="item.hasPermi?item.hasPermi:hasPermi.lookup"
           @click="buttonList(item)">
           {{ item.name }}
         </el-button>

+ 0 - 1
src/views/purchaseRequest/index.vue

@@ -717,7 +717,6 @@ export default {
             fFeeunitid: res.rows[item].fFeeunitid
           })
         }
-        console.log(this.listData)
       }
     })
     this.getDicts('data_unitfees').then(res => {