From 8a1d3246c55ca09f3457decddf497e2ced0f396e Mon Sep 17 00:00:00 2001 From: yangdan8 <361100314@qq.com> Date: Wed, 5 Sep 2018 11:00:44 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dd.ts=E7=9A=84=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=8C=87=E5=90=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a01cd739..0b16fb75 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "framework" ], "main": "dist/iview.js", - "typings": "types/index.d.ts", + "typings": "dist/types/index.d.ts", "files": [ "dist", "src", From c1b06093809f1b86281ab9f63507691ec8d8206c Mon Sep 17 00:00:00 2001 From: yangdan8 <361100314@qq.com> Date: Wed, 5 Sep 2018 13:26:48 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwebpack=E6=89=93=E5=8C=85?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E4=B8=AD=E6=8A=A5any=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/iview.components.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/iview.components.d.ts b/types/iview.components.d.ts index 1f155e31..e71fc84c 100644 --- a/types/iview.components.d.ts +++ b/types/iview.components.d.ts @@ -65,8 +65,8 @@ export { Upload } from './upload'; declare const API: { version: string; - locale: (l) => void; - i18n: (fn) => void; + locale: (l:any) => void; + i18n: (fn:any) => void; install: ( Vue: Vue, opts: { From 0017507b7d29eaa5d42029b3139183bcc6e038df Mon Sep 17 00:00:00 2001 From: SergioCrisostomo Date: Sun, 9 Sep 2018 10:09:52 +0200 Subject: [PATCH 3/6] don't use parseDate if we already have date objects --- src/components/date-picker/util.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/date-picker/util.js b/src/components/date-picker/util.js index db9858b5..74217b70 100644 --- a/src/components/date-picker/util.js +++ b/src/components/date-picker/util.js @@ -174,7 +174,10 @@ const RANGE_PARSER = function(text, format) { const range1 = array[0]; const range2 = array[1]; - return [parseDate(range1, format), parseDate(range2, format)]; + return [ + range1 instanceof Date ? range1 : parseDate(range1, format), + range2 instanceof Date ? range2 : parseDate(range2, format), + ]; } return []; }; From 01a6bcd212620f68051a78680dd808e8c756866d Mon Sep 17 00:00:00 2001 From: dailyvuejs <42842488+dailyvuejs@users.noreply.github.com> Date: Sun, 9 Sep 2018 22:11:31 +0800 Subject: [PATCH 4/6] polish: input-number rm no use code and fix typo --- src/components/input-number/input-number.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/input-number/input-number.vue b/src/components/input-number/input-number.vue index f03cdb9b..cb9b268a 100644 --- a/src/components/input-number/input-number.vue +++ b/src/components/input-number/input-number.vue @@ -80,9 +80,9 @@ type: Number, default: 1 }, - activeChange:{ - type:Boolean, - default:true + activeChange: { + type: Boolean, + default: true }, value: { type: Number, @@ -314,7 +314,6 @@ }, changeVal (val) { val = Number(val); - //this.setValue(val); if (!isNaN(val)) { const step = this.step; From 16c2b8d26ed976df868f6028fdaffb0af1f49760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Mon, 10 Sep 2018 11:41:47 +0800 Subject: [PATCH 5/6] fixes #4439 --- src/components/modal/modal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 42acbc26..596f4fae 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -1,7 +1,7 @@