gaoluyang
2 天以前 fe631515b71782a10a750874f6d4582fe027cd22
src/views/system/role/index.vue
@@ -92,7 +92,7 @@
      </el-row>
      <!-- 表格数据 -->
      <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
      <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange" stripe>
         <el-table-column type="selection" width="55" align="center" />
         <el-table-column label="角色编号" prop="roleId" width="120" />
         <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
@@ -244,6 +244,7 @@
<script setup name="Role">
import { addRole, changeRoleStatus, dataScope, delRole, getRole, listRole, updateRole, deptTreeSelect } from "@/api/system/role"
import { roleMenuTreeselect, treeselect as menuTreeselect } from "@/api/system/menu"
import {onMounted} from "vue";
const router = useRouter()
const { proxy } = getCurrentInstance()
@@ -580,5 +581,7 @@
  reset()
}
getList()
onMounted(() => {
   getList();
});
</script>