perf hide userPage and rolePage id field

This commit is contained in:
LiuHao 2023-04-02 22:11:47 +08:00
parent 631a831609
commit 3b93c8ac56
2 changed files with 3 additions and 3 deletions

View File

@ -371,9 +371,9 @@ onMounted(() => {
<el-table ref="roleTableRef" v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="角色编号" prop="roleId" width="120" />
<el-table-column label="角色编号" prop="roleId" width="120" v-if="false" />
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
<el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="150" />
<el-table-column label="权限字符" prop="roleKey" :show-overflow-tooltip="true" width="200" />
<el-table-column label="显示顺序" prop="roleSort" width="100" />
<el-table-column label="状态" align="center" width="100">
<template #default="scope">

View File

@ -53,7 +53,7 @@ const upload = reactive<ImportOption>({
})
//
const columns = ref<FieldOption[]>([
{ key: 0, label: `用户编号`, visible: true },
{ key: 0, label: `用户编号`, visible: false },
{ key: 1, label: `用户名称`, visible: true },
{ key: 2, label: `用户昵称`, visible: true },
{ key: 3, label: `部门`, visible: true },