
代码
蛋花丶
这个作者很懒,什么都没留下…
展开
-
A标签快捷下载
let blob: Blob = new Blob([data], { type: “application/msword” }); let url: string = URL.createObjectURL(blob); let link: HTMLElement = document.createElement(‘a’); link.setAttribute(“href”, url); link.setAttribute(“download”, word.docx); link.style...原创 2020-08-05 14:18:20 · 229 阅读 · 0 评论 -
.NET实现多项目session跨域
打开项目下的Web.config文件 所有项目都配置一样的machineKey <!--session跨域配置开始--> <sessionState mode= "StateServer" stateConnectiorstringe="tcpip=127.0.0.1:42424" cookieless="false" timeout="60"/> <machi...原创 2020-04-17 16:02:08 · 439 阅读 · 0 评论 -
实用方法
这里写自定义目录标题js实现页面打开自动定位到指定元素位置 js实现页面打开自动定位到指定元素位置 document.getElementById(“moreMerchant”).scrollIntoView()原创 2019-10-30 10:46:42 · 131 阅读 · 0 评论