刘洋 hai 1 ano
pai
achega
7b55a5afe2
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/modules/paper/views/EditPaper.vue

+ 4 - 1
src/modules/paper/views/EditPaper.vue

@@ -154,7 +154,10 @@
           </el-button>
 
           <el-button
-            v-if="enableCardEdit"
+            v-if="
+              enableCardEdit &&
+              authButtons.includes('exam_paper_manager-edit_card')
+            "
             type="danger"
             size="small"
             plain