From 1a7f5726ee80504c050e11be0cb7730b0d8f8fb2 Mon Sep 17 00:00:00 2001 From: jones2000 Date: Sat, 16 Jul 2022 06:15:16 +0800 Subject: [PATCH] ver 11238 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 11238 小程序修正SetStyle() 报错 --- wechathqchart/umychart.resource.wechat.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wechathqchart/umychart.resource.wechat.js b/wechathqchart/umychart.resource.wechat.js index 525558896..d975150e5 100644 --- a/wechathqchart/umychart.resource.wechat.js +++ b/wechathqchart/umychart.resource.wechat.js @@ -469,8 +469,8 @@ function JSChartResource() if (style.DRAWICON.Text) { var item=style.DRAWICON.Text; - if (IFrameSplitOperator.IsPlusNumber(item.MaxSize)) this.DRAWICON.Text.MaxSize=item.MaxSize; - if (IFrameSplitOperator.IsPlusNumber(item.MinSize)) this.DRAWICON.Text.MinSize=item.MinSize; + if (this.IsPlusNumber(item.MaxSize)) this.DRAWICON.Text.MaxSize=item.MaxSize; + if (this.IsPlusNumber(item.MinSize)) this.DRAWICON.Text.MinSize=item.MinSize; if (item.Zoom) this.DRAWICON.Text.Zoom=item.Zoom; if (item.FontName) this.DRAWICON.Text.FontName=item.FontName; } @@ -479,8 +479,8 @@ function JSChartResource() if (style.DRAWTEXT) { var item=style.DRAWTEXT; - if (IFrameSplitOperator.IsPlusNumber(item.MaxSize)) this.DRAWICON.MaxSize=item.MaxSize; - if (IFrameSplitOperator.IsPlusNumber(item.MinSize)) this.DRAWICON.MinSize=item.MinSize; + if (this.IsPlusNumber(item.MaxSize)) this.DRAWICON.MaxSize=item.MaxSize; + if (this.IsPlusNumber(item.MinSize)) this.DRAWICON.MinSize=item.MinSize; if (item.Zoom) this.DRAWICON.Zoom=item.Zoom; if (item.FontName) this.DRAWICON.FontName=item.FontName; } @@ -488,10 +488,10 @@ function JSChartResource() if (style.DRAWNUMBER) { var item=style.DRAWNUMBER; - if (this.IsPlusNumber(item.MaxSize)) this.DRAWNUMBER.Text.MaxSize=item.MaxSize; - if (this.IsPlusNumber(item.MinSize)) this.DRAWNUMBER.Text.MinSize=item.MinSize; - if (item.Zoom) this.DRAWNUMBER.Text.Zoom=item.Zoom; - if (item.FontName) this.DRAWNUMBER.Text.FontName=item.FontName; + if (this.IsPlusNumber(item.MaxSize)) this.DRAWNUMBER.MaxSize=item.MaxSize; + if (this.IsPlusNumber(item.MinSize)) this.DRAWNUMBER.MinSize=item.MinSize; + if (item.Zoom) this.DRAWNUMBER.Zoom=item.Zoom; + if (item.FontName) this.DRAWNUMBER.FontName=item.FontName; } if (style.DRAWABOVE)