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