Pārlūkot izejas kodu

添加复制权限

DESKTOP-SVI9JE1\muzen 2 gadi atpakaļ
vecāks
revīzija
c6a0bcafd4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>