修复透明度覆盖影响设置问题,优化样式

This commit is contained in:
eoao
2025-06-06 00:23:31 +08:00
parent 1c40dc8338
commit 8054c0390c
15 changed files with 179 additions and 147 deletions

View File

@@ -239,12 +239,14 @@ import {tzDayjs} from "@/utils/day.js";
import {useSettingStore} from "@/store/setting.js";
import {isEmail} from "@/utils/verify-utils.js";
import {useRoleStore} from "@/store/role.js";
import {useUserStore} from "@/store/user.js";
defineOptions({
name: 'user'
})
const roleStore = useRoleStore()
const userStore = useUserStore()
const settingStore = useSettingStore()
const filteredValue = ['normal', 'del']
const filters = [{text: '正常', value: 'normal'}, {text: '删除', value: 'del'}]
@@ -314,6 +316,10 @@ watch(() => roleStore.refresh, () => {
})
})
watch(() => userStore.refreshList, () => {
getUserList(false)
})
getUserList()
const filterItem = reactive({
@@ -631,7 +637,7 @@ function search() {
function updatePwd() {
if (userForm.password.length < 6) {
if (!userForm.password) {
ElMessage({
message: '密码不能为空',
type: 'error',
@@ -754,6 +760,16 @@ function adjustWidth() {
.el-message-box__message {
word-break: break-all;
}
.el-table-filter__bottom {
button:last-child {
display: none;
}
}
.el-table-filter__content {
min-width: 0;
}
</style>
<style lang="scss" scoped>