update experience for chat

This commit is contained in:
AceDataCloud committed 2023-10-03 20:13:23 +08:00
1 parent 7ca606ae20
commit 71dec1cb67
8 files changed
+151 -42

No files matched your search

+2 -2
View File
@@ -92,14 +92,14 @@ export default defineComponent({
const options = group.options;
if (options && options.length > 0) {
this.value = options[0];
this.$emit('select', options[0]);
this.$emit('update:modelValue', options[0]);
this.$emit('select', options[0]);
}
},
onCommandChange(command: IChatModel) {
this.value = command;
this.$emit('select', command);
this.$emit('update:modelValue', command);
this.$emit('select', command);
}
}
});