From 03d23114ec2646c00e1e1ebdbf9b01a912855fb7 Mon Sep 17 00:00:00 2001 From: yechunxi Date: Wed, 22 Apr 2020 00:14:13 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(component-qa):=20=E5=BF=AB=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=87=8C=E5=9B=BE=E7=89=87=E7=BB=84=E4=BB=B6mode?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-components-qa/src/components/taro-image/index.ux | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/taro-components-qa/src/components/taro-image/index.ux b/packages/taro-components-qa/src/components/taro-image/index.ux index d695bf8ee7f7..36851d06207e 100644 --- a/packages/taro-components-qa/src/components/taro-image/index.ux +++ b/packages/taro-components-qa/src/components/taro-image/index.ux @@ -51,7 +51,7 @@ }), onInit () { - let imageStyle = {} + this.imageStyle = Object.assign({}, this.customstyle) switch (this.mode) { case 'scaleToFill': this.imageStyle['object-fit'] = 'fill'; @@ -65,7 +65,6 @@ default: this.imageStyle['object-fit'] = 'fill'; } - this.imageStyle = Object.assign({}, this.customstyle) }, handleClick () { From 1c498d44f4f4a873072612890448c6c7e1b3031a Mon Sep 17 00:00:00 2001 From: yechunxi Date: Wed, 22 Apr 2020 00:19:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(mini-runner):=20=E5=BF=AB=E5=BA=94?= =?UTF-8?q?=E7=94=A8font-family=E5=8F=82=E4=B8=8E=E7=BC=96=E8=AF=91?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E4=BD=BF=E7=94=A8iconfont?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/quickapp/style/declaration/font/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-mini-runner/src/quickapp/style/declaration/font/index.ts b/packages/taro-mini-runner/src/quickapp/style/declaration/font/index.ts index d974c06a7625..3d446ed2104c 100644 --- a/packages/taro-mini-runner/src/quickapp/style/declaration/font/index.ts +++ b/packages/taro-mini-runner/src/quickapp/style/declaration/font/index.ts @@ -18,6 +18,6 @@ export default { } }, 'font-style': '', - 'font-family': 'I:', + 'font-family': '', 'font-variant': 'I:' }