From 38b5b76051da0a675692b5da9af21d8ce23e7a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 15 Apr 2019 10:05:42 +0800 Subject: [PATCH] update Select max-tag-placeholder type to Function, #5568 --- examples/routers/select.vue | 7 ++++++- package.json | 2 +- src/components/select/select-head.vue | 4 ++-- src/components/select/select.vue | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/routers/select.vue b/examples/routers/select.vue index 3c3e8f4c..f08ec427 100644 --- a/examples/routers/select.vue +++ b/examples/routers/select.vue @@ -24,7 +24,7 @@ - @@ -82,6 +82,11 @@ model1: '', model10: [] } + }, + methods: { + more (num) { + return 'more' + num; + } } } diff --git a/package.json b/package.json index ac64e128..4d22baaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iview", - "version": "3.3.3", + "version": "3.4.0-rc.2", "title": "iView", "description": "A high quality UI components Library with Vue.js", "homepage": "http://www.iviewui.com", diff --git a/src/components/select/select-head.vue b/src/components/select/select-head.vue index ef38a960..5efc60d6 100644 --- a/src/components/select/select-head.vue +++ b/src/components/select/select-head.vue @@ -13,7 +13,7 @@
- +
@@ -100,7 +100,7 @@ }, // 3.4.0 maxTagPlaceholder: { - type: String + type: Function } }, data () { diff --git a/src/components/select/select.vue b/src/components/select/select.vue index fe17c090..75349e20 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -251,7 +251,7 @@ }, // 3.4.0 maxTagPlaceholder: { - type: String + type: Function } }, mounted(){