refactor(project-demand): 优化加载状态管理
- 在获取数据失败时添加 loading.value = false,确保正确更新加载状态
This commit is contained in:
@@ -836,6 +836,7 @@ const getDetailInfo = async () => {
|
|||||||
optionalChargeLeadershipList.value = formData.value.optionalChargeLeadership
|
optionalChargeLeadershipList.value = formData.value.optionalChargeLeadership
|
||||||
loading.value = false
|
loading.value = false
|
||||||
}else{
|
}else{
|
||||||
|
loading.value = false
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
message: res.msg,
|
message: res.msg,
|
||||||
|
|||||||
Reference in New Issue
Block a user