diff --git a/src/views/wms/basicDataManage/factoryModeling/location/index.vue b/src/views/wms/basicDataManage/factoryModeling/location/index.vue index fd21fb680..6f2535ccf 100644 --- a/src/views/wms/basicDataManage/factoryModeling/location/index.vue +++ b/src/views/wms/basicDataManage/factoryModeling/location/index.vue @@ -252,11 +252,13 @@ const handleDelete = async (id: number) => { tableObject.loading = true // 发起删除 await LocationApi.deleteLocation(id) - tableObject.loading = false message.success(t('common.delSuccess')) + + } finally { + tableObject.loading = false // 刷新列表 buttonBaseClick('refresh',null) - } catch {} + } } /** 导出按钮操作 */