mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-13 12:49:30 +00:00
优化pinia相关
This commit is contained in:
@@ -316,7 +316,12 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.container {
|
||||
background-size: 100% 100%;
|
||||
height: 100vh;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.desc {
|
||||
text-align: center;
|
||||
|
||||
@@ -206,6 +206,7 @@ const handleSave = async () => {
|
||||
// 调用更新配置接口
|
||||
await updateConfig(configData);
|
||||
message.success('配置保存成功');
|
||||
window.location.reload();
|
||||
} catch (error) {
|
||||
console.error('保存配置失败:', error);
|
||||
message.error('配置保存失败');
|
||||
|
||||
@@ -361,8 +361,6 @@ import { getDeptList } from '@/api/system/dept'
|
||||
import { getUserList, createUser, updateUser, deleteUser, batchAvailableUser, exportUser, downloadTemplate, importUser } from '@/api/system/user'
|
||||
import SelectorModal from './SelectorModal.vue'
|
||||
import type { searchDataType, tableDataType, deptTreeType, roleSelectorType, positionSelectorType } from './types'
|
||||
import XLSX from 'xlsx';
|
||||
import store from '@/store';
|
||||
import storage from 'store';
|
||||
|
||||
const tableLoading = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user