05 2021 档案

摘要:使用HTML5 API创建子窗口,控制窗口,窗口之间的交互,从子窗口返回数据,页面来源,使用eval方法向子窗口传递数据 index.js /** * 使用HTML5 API创建子窗口 * window.open方法 * window.open(url[,title][,attributes]) * 阅读全文
posted @ 2021-05-30 21:14 三瑞 阅读(426) 评论(0) 推荐(0) 编辑
摘要:使用 X-Frame-Options 有三个可选的值: DENY:浏览器拒绝当前页面加载任何Frame页面SAMEORIGIN:frame页面的地址只能为同源域名下的页面ALLOW-FROM:origin为允许frame加载的页面地址 <?xml version="1.0" encoding="UT 阅读全文
posted @ 2021-05-25 20:29 三瑞 阅读(6747) 评论(0) 推荐(0) 编辑
摘要:index.js /** * 消息对话框:显示简单的消息对话框 * titile 和 message * showMessageBox(options) * * 设置消息对话框的图标 * icon * * 设置消息对话框类型 * 1、默认对话框:none * 2、信息对话模型:info * 3、错误 阅读全文
posted @ 2021-05-24 21:57 三瑞 阅读(222) 评论(0) 推荐(0) 编辑
摘要:index.js /** * 打开对话框:最简单的打开对话框 * * Dialog.showOpenDialog([browserWindow,]options[,callback]) * browserWindow参数允许对话框将自身附加到父窗口,作为父窗口的模态对话框。 * callback:返 阅读全文
posted @ 2021-05-23 22:33 三瑞 阅读(254) 评论(1) 推荐(1) 编辑
摘要:git rm 10编码/Src/xxx/bin/Debug/xxx.pdberror: the following file has local modifications:10编码/Src/xxx/bin/Debug/xxx.pdb(use --cached to keep the file, o 阅读全文
posted @ 2021-05-23 13:35 三瑞 阅读(153) 评论(0) 推荐(0) 编辑
摘要:index.js /** * 优雅地加载页面 * show:false,创建一个隐蔽的窗口 * win.on("ready-to-show",()=>{ win.show(); });//加载完才显示 */ /** * 父子窗口(Mac OS X和Windows有一定差异) * 1、子窗口总是在父窗 阅读全文
posted @ 2021-05-22 19:31 三瑞 阅读(1483) 评论(0) 推荐(0) 编辑
摘要:ibatils sqlmap.config中 <database> <provider name="sqlServer2.0"/> <dataSource ... ConnectionTimeout="600"/> </database> ibatis.net 的坑 https://www.cnbl 阅读全文
posted @ 2021-05-21 17:06 三瑞 阅读(369) 评论(0) 推荐(0) 编辑
摘要:拦接器 public class AutoDesensitizationMethodInterceptor : IMethodInterceptor { public object Intercept(IMethodInvocation invocation, params object[] arg 阅读全文
posted @ 2021-05-20 19:51 三瑞 阅读(299) 评论(0) 推荐(0) 编辑
摘要:[TestClass] public class FacilityTest {public FacilityTest() { } [TestInitialize] public void InitTestData() { } [TestCleanup] public void ClearTestDa 阅读全文
posted @ 2021-05-20 19:10 三瑞 阅读(81) 评论(0) 推荐(0) 编辑
摘要:index.js /** * 无边框窗口和透明窗口 * frame:false无边框窗口 * transparent:true,透明窗口 */ /** * 锁定模式 * 如果窗口处理全屏,并县锁定上状态,在Mac OS X唯一退出窗口的方式是通过<Command+Q>组合键 * 如果在Mac OS 阅读全文
posted @ 2021-05-19 22:29 三瑞 阅读(617) 评论(0) 推荐(0) 编辑
摘要:index.js /** * 单位:像素 * width:窗口宽度 height:窗口高度 * minWidth:窗口最小宽度 minHeight:窗口最小高度 * maxWidth:窗口最大宽度 maxHeight:窗口最大高度 * * 获取和设置高度 * getSize() 返回数组,[0]:w 阅读全文
posted @ 2021-05-18 21:08 三瑞 阅读(4732) 评论(0) 推荐(0) 编辑
摘要:require('electron').remote解决方法地址:https://stackoverflow.com/questions/44391448/electron-require-is-not-definedapp.on('ready', () => { mainWindow = new 阅读全文
posted @ 2021-05-18 18:53 三瑞 阅读(145) 评论(0) 推荐(0) 编辑
摘要:当使用 gitblit.cmd 启动失败 1、原因就是我服务器的内网ip变化导致 方法:./data/gitblit.properties 文件中; server.httpBindInterface=xxx.xxx.x.xx; 阅读全文
posted @ 2021-05-16 11:04 三瑞 阅读(885) 评论(0) 推荐(0) 编辑
摘要:创建FTP共享文件夹遇到这个问题,记录一下解决方案: 在开始按钮(win图标)上右键→计算机管理 服务和应用程序→服务→Server服务上右击,选择属性,并将启动类型设置为自动,然后单击应用并确定,或者重启一下。 还是这个窗口→共享文件夹→新建共享→使用创建共享文件夹向导创建文件夹 即可。 阅读全文
posted @ 2021-05-08 11:11 三瑞 阅读(636) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示