摘要: dotnet core发布到IIS后报405错误,意指不支持post方法,解决方法web.config文件下添加以下节点 在<system.webServer>节点下添加 <modules> <remove name="WebDAVModule" /> </modules> <handlers> < 阅读全文
posted @ 2021-06-03 17:55 儿歌三百首 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 在网上查阅了资料找到了解决方案,大致如下 调用http访问前加上这句话 ServicePointManager.CertificatePolicy = new AcceptAllCertificatePolicy(); internal class AcceptAllCertificatePolic 阅读全文
posted @ 2020-12-17 15:36 儿歌三百首 阅读(246) 评论(0) 推荐(0) 编辑
摘要: for (var j = 1; j <= 5; j++) { //每次延迟1秒 (function (j) { setTimeout(function () { console.log(j); }, j * 1000); })(j); } 阅读全文
posted @ 2020-04-17 16:01 儿歌三百首 阅读(2896) 评论(0) 推荐(0) 编辑
摘要: 1、扩展IAbpSession 定位到.Core结尾的项目中,添加Extensions文件夹,然后添加IAbpSessionExtension接口继承自IAbpSession: namespace TJS.IntelligentMonitoring.Extensions { public inter 阅读全文
posted @ 2020-03-25 17:26 儿歌三百首 阅读(266) 评论(0) 推荐(0) 编辑
摘要: url为服务器上文件地址,pdf.js插件下载地址为 https://download.csdn.net/download/yu442562623/12077568 阅读全文
posted @ 2020-01-03 16:11 儿歌三百首 阅读(295) 评论(0) 推荐(0) 编辑
摘要: window.open('http://view.officeapps.live.com/op/view.aspx?src=' + window.location.origin + url); 需要注意的是src后面的文件地址必须要有域名,Localhost这种看不到文件,发布的地址端口必须为80 阅读全文
posted @ 2020-01-03 15:45 儿歌三百首 阅读(510) 评论(0) 推荐(0) 编辑
摘要: begin declare @a int,@error int DECLARE @EBSCode nvarchar(50) DECLARE @EBSName nvarchar(50) DECLARE @FilePath nvarchar(200) set @a=1 set @error=0 DECLARE table_cursor CURSOR FOR (select * from OpenDat 阅读全文
posted @ 2019-12-17 16:31 儿歌三百首 阅读(316) 评论(0) 推荐(0) 编辑
摘要: echars在绘制图形的时候会给div添加属性_echarts_instance_,因此只需要将此属性移除并清空div内容即可重新绘制新的echarts图形。 阅读全文
posted @ 2019-08-09 11:42 儿歌三百首 阅读(3969) 评论(0) 推荐(0) 编辑
摘要: DataGrid标签中加 <i:Interaction.Triggers> <i:EventTrigger EventName="CellEditEnding" > <i:InvokeCommandAction Command="{Binding CellEditEndingCommand}" Co 阅读全文
posted @ 2019-01-08 11:24 儿歌三百首 阅读(2115) 评论(0) 推荐(1) 编辑
摘要: ViewModel中添加 public Action CloseAction { get; set; } view中xaml.cs文件中添加 var viewModel = IocManager.Instance.Resolve<LoginWindowViewModel>(); DataContex 阅读全文
posted @ 2019-01-04 10:54 儿歌三百首 阅读(537) 评论(0) 推荐(0) 编辑