上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页
摘要: // 相对时间 var toDuration= function (val) { var cTime = new Date().getTime(); // 当前时间 var tTime = Date.parse(val); // 目标时间 var diffTime = cTime - tTime; 阅读全文
posted @ 2021-03-04 14:24 居无常 阅读(272) 评论(0) 推荐(0) 编辑
摘要: WebHelper.cs修改如下两个方法,加入cookie.SameSite = SameSiteMode.Lax; cookie.Secure = false;两句代码 public static void WriteCookie(string strName, string strValue) 阅读全文
posted @ 2020-12-18 10:22 居无常 阅读(1583) 评论(0) 推荐(0) 编辑
摘要: apicloud通过img标签,src赋值本地链接有时显示不了图片的问题。本地调试,如果config.xml文件配置<content src="http://192.168.20.117:8080/index.html" />调试,虽然加上vue的热编译,更新刷新页面很爽。但也导致一个问题,就是im 阅读全文
posted @ 2020-12-18 09:44 居无常 阅读(317) 评论(0) 推荐(0) 编辑
摘要: function replaceStrColor(inputStr, color) { let temp = inputStr.replace(/[“\"]((?![\"“]).)+[\"”]/gi, function (item) { return "<span style='color:" + 阅读全文
posted @ 2020-11-27 10:32 居无常 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1. 下载 certbot(https://certbot.eff.org)https://github.com/certbot/certbot 2.生成证书时需要配置的nginx server { listen 80; server_name gzmp.xxx.com; location ^~ / 阅读全文
posted @ 2020-10-28 16:37 居无常 阅读(1271) 评论(0) 推荐(0) 编辑
摘要: 参考:https://community.apicloud.com/bbs/forum.php?mod=viewthread&tid=44924&page=1 本人按照文档说明操作,在config.xml文件中加入 <preference name="urlScheme" value="mysche 阅读全文
posted @ 2020-10-13 10:04 居无常 阅读(694) 评论(0) 推荐(0) 编辑
摘要: d3 Api https://github.com/tianxuzhang/d3.v4-API-Translation html <div class="layout-warp" id="layout-warp"> <svg xmlns="http://www.w3.org/2000/svg" wi 阅读全文
posted @ 2020-10-10 18:15 居无常 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 报错信息: 异常: Unable to determine the provider name for provider factory of type 'MySql.Data.MySqlClient.MySqlClientFactory'. Make sure that the ADO.NET p 阅读全文
posted @ 2020-09-29 11:15 居无常 阅读(1498) 评论(0) 推荐(0) 编辑
摘要: 官网URL:http://github.hubspot.com/pace/docs/welcome/ 文档 http://github.hubspot.com/pace/ 安装pace.js npm install --save pace-js npm install --save pace 其中p 阅读全文
posted @ 2020-08-21 16:36 居无常 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 打开控制台,下面按钮,在谷歌浏览器,开发者工具的application中的IndexedDB查看数据库表和数据。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content= 阅读全文
posted @ 2020-06-30 14:34 居无常 阅读(619) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 17 下一页