WANG 6 年之前
父節點
當前提交
c0f9746494
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      src/modules/examwork/view/examInfo.vue

+ 7 - 1
src/modules/examwork/view/examInfo.vue

@@ -146,7 +146,13 @@
                   编辑
                 </el-button>
 
-                <el-dropdown style="margin-left: 10px;">
+                <el-dropdown
+                  style="margin-left: 10px;"
+                  v-if="
+                    rolePrivileges.change_exam_availability ||
+                      rolePrivileges.update_exam
+                  "
+                >
                   <el-button type="primary" plain size="mini">
                     更多<i class="el-icon-arrow-down el-icon--right"></i>
                   </el-button>