feat:【mall 商城】商品属性的迁移(ele)

This commit is contained in:
YunaiV
2025-10-08 18:10:42 +08:00
parent 276d91190c
commit e226e09e8a
13 changed files with 110 additions and 87 deletions

View File

@@ -98,7 +98,7 @@ function handleEdit(row: MallSpuApi.Spu) {
/** 删除商品 */
async function handleDelete(row: MallSpuApi.Spu) {
const hideLoading = ElLoading.service({
const loadingInstance = ElLoading.service({
text: $t('ui.actionMessage.deleting', [row.name]),
});
try {
@@ -106,7 +106,7 @@ async function handleDelete(row: MallSpuApi.Spu) {
ElMessage.success($t('ui.actionMessage.deleteSuccess', [row.name]));
await onRefresh();
} finally {
hideLoading.close();
loadingInstance.close();
}
}