diff --git a/src/cascader/demos/zhCN/multiple-lazy.demo.md b/src/cascader/demos/zhCN/multiple-lazy.demo.md index 1247ba2ec..a96ad71a1 100644 --- a/src/cascader/demos/zhCN/multiple-lazy.demo.md +++ b/src/cascader/demos/zhCN/multiple-lazy.demo.md @@ -27,7 +27,7 @@ function genChildren (option) { for (let i = 0; i <= option.depth; ++i) { children.push({ label: option.label + '-' + i, - value: option.label + '-' + i, + value: option.value + '-' + i, depth: option.depth + 1, isLeaf: option.depth === 3 }) diff --git a/src/cascader/demos/zhCN/single-lazy.demo.md b/src/cascader/demos/zhCN/single-lazy.demo.md index 6885cd6cc..feb9ba322 100644 --- a/src/cascader/demos/zhCN/single-lazy.demo.md +++ b/src/cascader/demos/zhCN/single-lazy.demo.md @@ -26,7 +26,7 @@ function genChildren (option) { for (let i = 0; i <= option.depth; ++i) { children.push({ label: option.label + '-' + i, - value: option.label + '-' + i, + value: option.value + '-' + i, depth: option.depth + 1, isLeaf: option.depth === 3 })