摘要:
最近发现在开发环境下出现问题 将HTML页面复制到android/app/src/main/assets文件夹 source = Platform.OS 'ios' ? require('../Static.bundle/**html') : { uri: 'file:///android_asse
阅读全文
posted @ 2020-07-29 16:44
z102410
阅读(987)
推荐(0)
摘要:
在根目录新建 Static.bundle 文件夹 打开android/app/build.gradle文件,新增 android { ... sourceSets { main { assets.srcDirs = ['src/main/assets', '../../Static.bundle']
阅读全文
posted @ 2020-07-29 16:42
z102410
阅读(242)
推荐(0)
摘要:
vscode eslint2.x版本以管理员身份运行shell并 运行npm install eslint -g全局下载ESLint 打开vs code,下载eslint插件,并重启vs code使插件生效 执行 eslint --init 提示 无法加载文件 /*eslint.ps1,因为在此系统
阅读全文
posted @ 2020-04-21 21:09
z102410
阅读(392)
推荐(0)
摘要:
vm100的情况下 取消了滚动条的宽度::-webkit-scrollbar { width:0px; height:0px; }
阅读全文
posted @ 2020-04-19 19:48
z102410
阅读(135)
推荐(0)
摘要:
var utterThis = new window.SpeechSynthesisUtterance('き'); utterThis.lang = 'ja'; window.speechSynthesis.speak(utterThis);
阅读全文
posted @ 2020-04-19 19:30
z102410
阅读(503)
推荐(0)
摘要:
// Opera 8.0+ var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; // Firefox 1.0+ var isFiref
阅读全文
posted @ 2020-04-19 19:27
z102410
阅读(345)
推荐(0)
摘要:
.bgdiv{ background-image: url(../img/nnh_n_0.jpg) ; background-size: 100% auto; width: 100%; height: 768px; position: relative; background-color: #000
阅读全文
posted @ 2020-04-04 14:35
z102410
阅读(112)
推荐(0)