From d29a51230ebe39616e596906e4ef192fcae84c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 17 Sep 2019 18:39:27 +0800 Subject: [PATCH] add capture prop --- examples/main.js | 3 +- examples/routers/poptip.vue | 92 +++----------------- src/components/cascader/cascader.vue | 11 ++- src/components/color-picker/color-picker.vue | 11 ++- src/components/dropdown/dropdown.vue | 11 ++- src/components/poptip/poptip.vue | 11 ++- 6 files changed, 51 insertions(+), 88 deletions(-) diff --git a/examples/main.js b/examples/main.js index 951c1550..bd729583 100644 --- a/examples/main.js +++ b/examples/main.js @@ -11,7 +11,8 @@ import locale from '../src/locale/lang/zh-CN'; Vue.use(VueRouter); Vue.use(iView, { - locale + locale, + capture: true }); // 开启debug模式 diff --git a/examples/routers/poptip.vue b/examples/routers/poptip.vue index 459fac0c..6f47a8a0 100644 --- a/examples/routers/poptip.vue +++ b/examples/routers/poptip.vue @@ -1,87 +1,21 @@ diff --git a/src/components/cascader/cascader.vue b/src/components/cascader/cascader.vue index 4f981898..75e9ee02 100644 --- a/src/components/cascader/cascader.vue +++ b/src/components/cascader/cascader.vue @@ -1,5 +1,5 @@