fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m7s

This commit is contained in:
sexygoat
2026-04-25 12:01:21 +08:00
parent 17c299e4ce
commit 9247001643
9 changed files with 901 additions and 311 deletions

View File

@@ -105,7 +105,7 @@
</ElDialog>
<!-- 分配角色对话框 -->
<ElDialog v-model="roleDialogVisible" width="50%">
<ElDialog v-model="roleDialogVisible" width="55%">
<template #header>
<div class="dialog-header">
<span class="dialog-title">分配角色</span>
@@ -219,7 +219,7 @@
</template>
<script setup lang="ts">
import { h } from 'vue'
import { h, onActivated } from 'vue'
import { useRoute } from 'vue-router'
import {
FormInstance,
@@ -589,6 +589,10 @@
getAccountList()
})
onActivated(() => {
getAccountList()
})
// 加载所有角色列表
const loadAllRoles = async (keyword: string = '') => {
try {
@@ -973,7 +977,7 @@
display: flex;
flex: 1;
flex-direction: column;
max-width: 380px;
max-width: 440px;
overflow: hidden;
border: 1px solid var(--el-border-color);
border-radius: 4px;