Browse Source

删除冗余代码

pull/95/head
余菲 1 year ago
parent
commit
190ee2150b
2 changed files with 3 additions and 2 deletions
  1. +3
    -1
      src/views/equipment-library/uva-manage/index.vue
  2. +0
    -1
      src/views/system-manage/role-manage/index.vue

+ 3
- 1
src/views/equipment-library/uva-manage/index.vue View File



const data = reactive({ const data = reactive({
...toRefs(table), ...toRefs(table),
search
search,
permissionList: permissionStore.accessPermissionCodes

}) })
const getPermissionLabel = (code) => { const getPermissionLabel = (code) => {
return permissionStore.accessPermissions.find((item) => { return permissionStore.accessPermissions.find((item) => {

+ 0
- 1
src/views/system-manage/role-manage/index.vue View File

</DataTable> </DataTable>
</n-card> </n-card>
</div> </div>
{{ permissionStore.getToken }}
<!-- 新增、编辑弹窗 --> <!-- 新增、编辑弹窗 -->
<RoleModal v-if="modalShow" v-model:visible="modalShow" :data="rowData" :type="modalType" @reload="handleSearch" /> <RoleModal v-if="modalShow" v-model:visible="modalShow" :data="rowData" :type="modalType" @reload="handleSearch" />
<AuthModal v-if="relateShow" v-model:visible="relateShow" :data="rowData" :type="modalType" @reload="handleSearch" /> <AuthModal v-if="relateShow" v-model:visible="relateShow" :data="rowData" :type="modalType" @reload="handleSearch" />

Loading…
Cancel
Save