fix: Style optimization

This commit is contained in:
dataeaseShu
2025-08-28 18:24:18 +08:00
parent 88840be0c9
commit cd8724486c
2 changed files with 16 additions and 13 deletions
+14 -12
View File
@@ -19,6 +19,7 @@ const { t } = useI18n()
const multipleSelectionAll = ref<any[]>([])
const keywordsMember = ref('')
const userStore = useUserStore()
const searchLoading = ref(false)
const workspaceForm = reactive({
name: '',
@@ -134,18 +135,19 @@ const handleToggleRowSelection = (check: boolean = true) => {
}
const search = () => {
workspaceUserList(
{ keyword: keywordsMember.value },
pageInfo.currentPage,
pageInfo.pageSize
).then((res) => {
toggleRowLoading.value = true
fieldList.value = res.items
pageInfo.total = res.total
nextTick(() => {
handleToggleRowSelection()
searchLoading.value = true
workspaceUserList({ keyword: keywordsMember.value }, pageInfo.currentPage, pageInfo.pageSize)
.then((res) => {
toggleRowLoading.value = true
fieldList.value = res.items
pageInfo.total = res.total
nextTick(() => {
handleToggleRowSelection()
})
})
.finally(() => {
searchLoading.value = false
})
})
}
const closeField = () => {
@@ -204,7 +206,7 @@ const handleCurrentChange = (val: number) => {
</script>
<template>
<div class="member">
<div v-loading="searchLoading" class="member">
<div class="tool-left">
<span class="page-title">{{ $t('workspace.member_management') }}</span>
<div class="search-bar">
@@ -520,7 +520,7 @@ const deleteHandlerItem = (idx: number) => {
</div>
</template>
<div class="synonyms-list">
<el-scrollbar max-height="218px">
<el-scrollbar>
<div v-for="(_, index) in pageForm.other_words" :key="index" class="scrollbar-item">
<el-input
v-model="pageForm.other_words[index]"
@@ -798,6 +798,7 @@ const deleteHandlerItem = (idx: number) => {
left: 0;
top: 0;
width: calc(100% + 4px);
height: calc(100vh - 390px);
}
.btn {