Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Feature/multi select #1

Open
wants to merge 16 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ npm-debug.log.*
yarn-debug.log.*
yarn-error.log.*
lerna-debug.log.*
lib
.idea
.vscode
examples/element-ui
Expand Down
6 changes: 4 additions & 2 deletions examples/docs/zh-CN/cascader.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
export default {
data() {
return {
props: { multiple: true },
props: { multiple: true, onlyLeafMulti: true },
options: [{
value: 1,
label: '东南',
Expand Down Expand Up @@ -978,14 +978,16 @@
<span class="demonstration">多选选择任意一级选项</span>
<el-cascader
:options="options"
:props="{ multiple: true, checkStrictly: true }"
v-model="value"
:props="{ multiple: true, checkStrictly: true, onlyLeafMulti: true }"
clearable></el-cascader>
</div>

<script>
export default {
data() {
return {
value: [['zhinan', 'daohang', 'cexiangdaohang'], ['zhinan', 'daohang', 'dingbudaohang']],
options: [{
value: 'zhinan',
label: '指南',
Expand Down
2 changes: 1 addition & 1 deletion examples/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","2.13.2":"2.13","2.14.1":"2.14"}
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","2.13.2":"2.13","2.14.2":"2.14"}
Loading