refactor(project-demand): 优化加载状态管理

- 在获取数据失败时添加 loading.value = false,确保正确更新加载状态
This commit is contained in:
dj
2025-05-21 22:38:53 +08:00
parent 9adea1060c
commit a2ed04e144

View File

@@ -836,6 +836,7 @@ const getDetailInfo = async () => {
optionalChargeLeadershipList.value = formData.value.optionalChargeLeadership
loading.value = false
}else{
loading.value = false
ElNotification({
title: '提示',
message: res.msg,