From 3206c02b404058060bcb075629fbad51c29ed89d Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Sat, 27 May 2017 11:52:40 +0800 Subject: [PATCH] fix when value is null --- packages/cascader/src/main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cascader/src/main.vue b/packages/cascader/src/main.vue index c1d743a4a..458166e32 100644 --- a/packages/cascader/src/main.vue +++ b/packages/cascader/src/main.vue @@ -148,7 +148,7 @@ export default { data() { return { - currentValue: this.value, + currentValue: this.value || [], menu: null, debouncedInputChange() {}, menuVisible: false,