<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .table{ overflow:auto; width:400px; height:300px; /* 固定高度 */ border:1px solid #999; border-bottom: 0; border-right: 0; } table { border-collapse:separate; table-layout: fixed; width: 100%; /* 固定寬度 */ } td, th { border-right :1px solid #999; border-b

微信开放全域名可访问后出现的限制。目前只能通过扫二维码分享、公众号菜单访问后分享、添加到我的收藏,从我的收藏进入分享。其他入口进去分享都是链接。

自用根证书rootCA.pem[1]证书研究 mkcert 工具安装web station添加虚拟主机配置想要使用的域名勾选80/443通过ssh 登录 进入/usr/local/etc/nginx/conf.d目录找到乱码目录名新建 文件vim user.conf.proxy按 ilocation ^~ / { #端口修改为群晖默认端口 proxy_pass http://127.0.0.1:8000/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connect

生成指定证书keytool -genkey -alias test -keyalg RSA -keysize 2048 -validity 36500 -keystore test.keystore #validity 过期时间 100年 #keyalg 指定加密算法 涉及到V1/V2签名方式问题查看证书签名信息keytool -list -v -keystore test.keystore高版本jdk查看Md5信息keytool -exportcert -keystore test.keystore|openssl dgst -md5

配置页面可分享onShareAppMessage(options) { return this.getPageShareParam(options); }返回Promise对象getPageShareParam(options) { let shareParam = { title: '分享标题', path: '/pages/index/index', imageUrl: '', }; //异步请求 return new Promise((resolve, reject) => { //从远程获取分享参数 httpRequestMethod({param1:1}).then(({res}) => { shareParam.path += '?' + res resolve(shareParam); }).catch(err => { reject(err); }) }); }