File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
SSCMS.Web/Controllers/Admin/Cms/Editor Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2727 <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
2828 <PackageReference Include =" SixLabors.Fonts" Version =" 1.0.0-beta0013" />
2929 <PackageReference Include =" SixLabors.ImageSharp.Drawing" Version =" 1.0.0-beta0009" />
30- <PackageReference Include =" RestSharp" Version =" 106.11.7 " />
30+ <PackageReference Include =" RestSharp" Version =" 106.12.0 " />
3131 <PackageReference Include =" Senparc.Weixin" Version =" 6.8.101" />
3232 <PackageReference Include =" Senparc.Weixin.WxOpen" Version =" 3.9.101" />
3333 <PackageReference Include =" Senparc.Weixin.TenPay" Version =" 1.6.101.1" />
Original file line number Diff line number Diff line change @@ -91,6 +91,13 @@ public async Task<ActionResult<GetResult>> Get([FromQuery]GetRequest request)
9191 content . Set ( style . AttributeName , StringUtils . ToString ( value ) ) ;
9292 }
9393 }
94+ else if ( style . InputType == InputType . Text || style . InputType == InputType . TextArea || style . InputType == InputType . TextEditor )
95+ {
96+ if ( request . ContentId == 0 )
97+ {
98+ content . Set ( style . AttributeName , string . Empty ) ;
99+ }
100+ }
94101 }
95102
96103 var siteUrl = await _pathManager . GetSiteUrlAsync ( site , true ) ;
You can’t perform that action at this time.
0 commit comments