修复已知bug
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
<template>
|
||||
<a-page-header :title="getPageTitle()" @back="() => $router.go(-1)">
|
||||
<a-card title="角色管理" style="margin-bottom: 20px">
|
||||
<template #extra>
|
||||
<a-button type="primary" @click="push(`/system/role`)">添加角色</a-button>
|
||||
</template>
|
||||
<a-space>
|
||||
<template v-for="(item,_) in roles" :key="index">
|
||||
<a-button>{{ item.roleName }}</a-button>
|
||||
</template>
|
||||
</a-space>
|
||||
</a-card>
|
||||
<!-- <a-card title="超级管理员" style="margin-bottom: 20px">-->
|
||||
<!-- <Admin />-->
|
||||
<!-- </a-card>-->
|
||||
<!-- <a-card title="项目成员" style="margin-bottom: 20px">-->
|
||||
<!-- <template #extra>-->
|
||||
<!-- <a-button class="ele-btn-icon" @click="openEdit()">-->
|
||||
<!-- <span>添加</span>-->
|
||||
<!-- </a-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- <Admin />-->
|
||||
<!-- </a-card>-->
|
||||
<a-card :bordered="false">
|
||||
<!-- 表格 -->
|
||||
<ele-pro-table
|
||||
@@ -152,7 +153,6 @@ import {Organization} from '@/api/system/organization/model';
|
||||
import {hasRole} from '@/utils/permission';
|
||||
import {getPageTitle, push} from "@/utils/common";
|
||||
import router from "@/router";
|
||||
import {listUserRole} from "@/api/system/userRole";
|
||||
|
||||
// 加载状态
|
||||
const loading = ref(true);
|
||||
|
||||
Reference in New Issue
Block a user