[AC-AISVC-50] 合入第一个稳定版本 #2

Merged
MerCry merged 32 commits from feature/prompt-unification-and-logging into main 2026-02-26 13:03:31 +00:00
1 changed files with 7 additions and 3 deletions
Showing only changes of commit 6c16132557 - Show all commits

View File

@ -173,8 +173,10 @@ const initFormData = () => {
watch(
() => props.modelValue,
() => {
initFormData()
(newVal) => {
if (JSON.stringify(newVal) !== JSON.stringify(formData.value)) {
initFormData()
}
},
{ deep: true }
)
@ -190,7 +192,9 @@ watch(
watch(
formData,
(val) => {
emit('update:modelValue', val)
if (JSON.stringify(val) !== JSON.stringify(props.modelValue)) {
emit('update:modelValue', val)
}
},
{ deep: true }
)