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: MemberGroupApi.Group) {
async function handleDelete(row: MemberGroupApi.Group) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
fullscreen: true,
});
try {
await deleteGroup(row.id as number);

View File

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

View File

@@ -40,7 +40,6 @@ function handleEdit(row: MemberSignInConfigApi.SignInConfig) {
async function handleDelete(row: MemberSignInConfigApi.SignInConfig) {
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting'),
fullscreen: true,
});
try {
await deleteSignInConfig(row.id as number);

View File

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

View File

@@ -27,7 +27,6 @@ const activeStatus = ref<number | string>('all');
const handleDelete = async (row: MallCouponApi.Coupon) => {
const hideLoading = ElLoading.service({
text: '回收将会收回会员领取的待使用的优惠券,已使用的将无法回收,确定要回收所选优惠券吗?',
fullscreen: true,
});
try {
await deleteCoupon(row.id as number);