File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
ui/src/workflow/nodes/base-node Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 170170import { groupBy , set } from ' lodash'
171171import NodeContainer from ' @/workflow/common/NodeContainer.vue'
172172import type { FormInstance } from ' element-plus'
173- import { ref , computed , onMounted } from ' vue'
173+ import { ref , computed , onMounted , nextTick } from ' vue'
174174import { MsgError , MsgSuccess , MsgWarning } from ' @/utils/message'
175175import { t } from ' @/locales'
176176import TTSModeParamSettingDialog from ' @/views/application/component/TTSModeParamSettingDialog.vue'
@@ -265,11 +265,13 @@ function getTTSModel() {
265265}
266266
267267function ttsModelChange() {
268- if (form_data .value .tts_model_id ) {
269- TTSModeParamSettingDialogRef .value ?.reset_default (form_data .value .tts_model_id , id )
270- } else {
271- refreshTTSForm ({})
272- }
268+ nextTick (() => {
269+ if (form_data .value .tts_model_id ) {
270+ TTSModeParamSettingDialogRef .value ?.reset_default (form_data .value .tts_model_id , id )
271+ } else {
272+ refreshTTSForm ({})
273+ }
274+ })
273275}
274276
275277function ttsModelEnableChange() {
You can’t perform that action at this time.
0 commit comments