Przeglądaj źródła

Merge branch 'master' of http://git.echepei.com/wengyuwen/anpinjingyuan-ui

wengyuwen 4 lat temu
rodzic
commit
e0c097eed9
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/combination/listComponent.vue

+ 3 - 3
src/combination/listComponent.vue

@@ -10,7 +10,7 @@
           :icon="item.icon"
           :plain="item.plain?item.plain:false"
           :disabled="item.disabled"
-          :v-hasPermi="item.hasPermi"
+          v-hasPermi="item.hasPermi"
           @click="buttonList(item)">
           {{ item.name }}
         </el-button>
@@ -77,9 +77,9 @@
         <template slot-scope="scope">
           <span v-if="item.name === '操作'">
             <span v-if="item.operation == 1">
-              <el-button type="text" @click="viewMethod(scope)" :v-hasPermi="hasPermi.lookup">查看</el-button>
+              <el-button type="text" @click="viewMethod(scope)" v-hasPermi="hasPermi.lookup">查看</el-button>
 <!--              <el-button type="text" @click="modification(scope)">修改</el-button>-->
-              <el-button type="text" @click="deletion(scope)" v-if="scope.row.fBillstatus < 4" :v-hasPermi="hasPermi.disappear">删除</el-button>
+              <el-button type="text" @click="deletion(scope)" v-if="scope.row.fBillstatus < 4" v-hasPermi="hasPermi.disappear">删除</el-button>
             </span>
             <span v-if="item.operation == 2">
               <el-button type="text" @click="deleteRow(scope.$index, tableData)" :disabled="item.disabled">移除</el-button>