reactor:element-plus 移除 loading 的 fullscreen = true(默认就是 true)

This commit is contained in:
YunaiV
2025-09-05 23:39:33 +08:00
parent 8d93c843ad
commit e81a759e0d
58 changed files with 34 additions and 117 deletions

View File

@@ -61,7 +61,6 @@ const submitForm = async () => {
// 提交表单
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.updating'),
fullscreen: true,
});
try {
// 拼接相关信息

View File

@@ -75,7 +75,6 @@ function onEdit(row: InfraCodegenApi.CodegenTable) {
async function onDelete(row: InfraCodegenApi.CodegenTable) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.tableName]),
fullscreen: true,
});
try {
await deleteCodegenTable(row.id);
@@ -107,7 +106,6 @@ async function onSync(row: InfraCodegenApi.CodegenTable) {
async function onGenerate(row: InfraCodegenApi.CodegenTable) {
const loadingInstance = ElLoading.service({
text: '正在生成代码...',
fullscreen: true,
});
try {
const res = await downloadCodegen(row.id);

View File

@@ -96,7 +96,6 @@ const [Modal, modalApi] = useVbenModal({
// 2. 提交请求
const loadingInstance = ElLoading.service({
text: '导入中...',
fullscreen: true,
});
try {
await createCodegenList(formData);