reactor:element-plus 移除 loading 的 fullscreen = true(默认就是 true)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user