Skip to content

Commit 61afa15

Browse files
authored
doc: Update automatic-tokenization.vue (#4847)
value 为数组类型,不是字符串类型
1 parent 6dfc837 commit 61afa15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/select/demo/automatic-tokenization.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default defineComponent({
3939
},
4040
]);
4141
const value = ref<string[]>([]);
42-
const handleChange = (value: string) => {
42+
const handleChange = (value: []) => {
4343
console.log(`selected ${value}`);
4444
};
4545
watch(value, () => {

0 commit comments

Comments
 (0)