Browse Source

添加复制权限

DESKTOP-SVI9JE1\muzen 2 năm trước cách đây
mục cha
commit
c6a0bcafd4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/registration/lottery/index.vue

+ 1 - 1
src/views/registration/lottery/index.vue

@@ -30,7 +30,7 @@
           </span>
           <el-button v-else type="text" @click="getChange(scope.row, 1)"
             v-hasPermi="['registration:lottery:down']">下架</el-button>
-          <el-button type="text" @click="getCopy(scope.row.id)">复制</el-button>
+          <el-button type="text" @click="getCopy(scope.row.id)" v-hasPermi="[`registration:lottery:copy`]">复制</el-button>
         </template>
       </el-table-column>
     </el-table>