diff --git a/examples/docs/zh-CN/select.md b/examples/docs/zh-CN/select.md index cf3a41b11..4e690276b 100644 --- a/examples/docs/zh-CN/select.md +++ b/examples/docs/zh-CN/select.md @@ -91,7 +91,7 @@ value: 'Guangzhou', label: '广州' }], - value: '选项2', + value: '', value2: '', value3: '', value4: '', @@ -108,20 +108,9 @@ mounted() { this.list = this.states.map(item => { return { value: item, label: item }; }); -// this.options4 = this.states.map(item => { return { value: item, label: item }; }); -// this.value9 = ['Vermont']; }, methods: { - empty() { - this.value9 = ['New York']; - }, - aa(val) { - console.log('change', val) - }, - bb() { - this.options.splice(0, 1, { label: 'haha', value: 'haha' }); - }, remoteMethod(query) { if (query !== '') { this.loading = true; @@ -151,11 +140,10 @@ ### 基础用法 适用广泛的基础单选 -bb :::demo `v-model`的值为当前被选中的`el-option`的 value 属性值 ```html