Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-17 21:14:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a7f10bd46526957a2aae581d1fd32777c34651e
4a7f10bd
1 parent
ccdb3d98
fix(CheckinDetailPage): 新增目标时默认勾选并标记为已确认
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/views/checkin/CheckinDetailPage.vue
src/views/checkin/CheckinDetailPage.vue
View file @
4a7f10b
...
...
@@ -413,9 +413,13 @@ const confirmAddTarget = async (formFields) => {
}
} else {
// 新增成功,更新本地列表
targetList.value.push(
{
const newTarget =
{
...formData,
})
has_confirmed: true // 新增的对象默认已确认
}
targetList.value.push(newTarget)
// 默认勾选新增的对象
selectedTargets.value.push(newTarget)
showToast('新增成功')
}
...
...
Please
register
or
login
to post a comment