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

@@ -37,7 +37,6 @@ function handleEdit(row: MallBrandApi.Brand) {
async function handleDelete(row: MallBrandApi.Brand) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deleteBrand(row.id as number);

View File

@@ -54,7 +54,6 @@ const handleViewSpu = (id: number) => {
async function handleDelete(row: MallCategoryApi.Category) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deleteCategory(row.id as number);

View File

@@ -42,7 +42,6 @@ function handleEdit(row: any) {
async function handleDelete(row: MallPropertyApi.Property) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deleteProperty(row.id as number);

View File

@@ -49,7 +49,6 @@ function handleEdit(row: MallPropertyApi.PropertyValue) {
async function handleDelete(row: MallPropertyApi.PropertyValue) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deletePropertyValue(row.id as number);

View File

@@ -100,7 +100,6 @@ function handleEdit(row: MallSpuApi.Spu) {
async function handleDelete(row: MallSpuApi.Spu) {
const hideLoading = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deleteSpu(row.id as number);