소스 검색

修改权限显示

lex-xin 4 년 전
부모
커밋
6c80601524
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/musicalManager/index.vue

+ 2 - 2
src/views/musicalManager/index.vue

@@ -146,9 +146,9 @@
           </el-table-column>
           <el-table-column align="center" prop="studentId" label="操作">
             <template slot-scope="scope">
-              <div>
+              <auth :auths="['musicalManager/lookMusicalManager', '/repairList']" mulit>
                 <el-button type="text" @click="lookRepair(scope.row)">查看维修单</el-button>
-              </div>
+              </auth>
             </template>
           </el-table-column>
         </el-table>