Procházet zdrojové kódy

添加复制权限

DESKTOP-SVI9JE1\muzen před 2 roky
rodič
revize
c6a0bcafd4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>