bkui-vue 2.0.2-beta.18 → 2.0.2-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.umd.js +2 -2
- package/lib/cascader/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/cascader/index.js
CHANGED
@@ -1663,7 +1663,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
1663
1663
|
* @param value - 选中的值数组
|
1664
1664
|
*/
|
1665
1665
|
var updateCheckValue = function updateCheckValue(value) {
|
1666
|
-
if (value.length === 0) {
|
1666
|
+
if (!value || value.length === 0) {
|
1667
1667
|
menus.list = menus.list.slice(0, 1);
|
1668
1668
|
activePath.value = [];
|
1669
1669
|
}
|
package/lib/index.js
CHANGED