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-16 18:39:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
189765cb1893e15ceabd1f384419d7b8cda598c0
189765cb
1 parent
4a3a6cce
fix(CheckinDetailPage): 修复编辑模式下默认任务文本重复初始化问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/checkin/CheckinDetailPage.vue
src/views/checkin/CheckinDetailPage.vue
View file @
189765c
...
...
@@ -906,8 +906,8 @@ onMounted(async () => {
]
}
// 如果有默认选中值,
初始化显示文本
if (selectedTaskValue.value.length > 0) {
// 如果有默认选中值,
且非编辑模式(编辑模式下由initEditData统一处理,避免逻辑重复)
if (selectedTaskValue.value.length > 0
&& !isEditMode.value
) {
const option = taskOptions.value.find(o => o.value === selectedTaskValue.value[0])
if (option) {
selectedTaskText.value = option.text
...
...
Please
register
or
login
to post a comment