From f46ebc38dc34a1f66dc5a3ac4181c0e34d1e07d8 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Thu, 15 Dec 2016 20:33:16 +0800 Subject: [PATCH] fixed #130 --- src/components/cascader/cascader.vue | 3 +++ test/routers/cascader.vue | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/cascader/cascader.vue b/src/components/cascader/cascader.vue index 1c35040..ba3090c 100644 --- a/src/components/cascader/cascader.vue +++ b/src/components/cascader/cascader.vue @@ -177,6 +177,9 @@ this.updateSelected(); } } + }, + value () { + this.updateSelected(); } } } diff --git a/test/routers/cascader.vue b/test/routers/cascader.vue index c2c3bd5..b0c62e2 100644 --- a/test/routers/cascader.vue +++ b/test/routers/cascader.vue @@ -1,14 +1,10 @@