Skip to content

Commit

Permalink
ver 11238
Browse files Browse the repository at this point in the history
11238 小程序修正SetStyle() 报错
  • Loading branch information
jones2000 committed Jul 15, 2022
1 parent 5f338c3 commit 1a7f572
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions wechathqchart/umychart.resource.wechat.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -479,19 +479,19 @@ 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;
}

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)
Expand Down

0 comments on commit 1a7f572

Please sign in to comment.