- 扫普通链接二维码打开小程序
扫普通链接二维码打开小程序 二维码规则 https://langou.neirong.co/erweima?id=123 小程序功能页面 pages/empty/empty 测试链接(选填) https://langou.neirong.co/erweima?id=123&type=1&pid=123456 https://langou.neirong.co/erweima?id=123 1.结果用上面的测试连接在草料二维中生成二维码 总是提示页面不存在 2.不知道参数要求前缀匹配 我可有理解正确。 ( 二维码规则包含参数,链接“?”后为参数部分,参数要求前缀匹配 )
2018-03-12 - 自定义组件
{ "navigationBarTitleText": "500dds", "enablePullDownRefresh": true, "backgroundTextStyle": "dark", "usingComponents": { //我很多页面都需要用的这个组件,有没有其他的全局的引用方式而不是每个页面都需要引用一遍 "component-preloading": "../../components/preloading/preloading" } }
2018-01-31 - 小程序使用async函数后开启es6转码后报错
WAService.js:3 thirdScriptError regeneratorRuntime is not defined;at pages/dome1/dome1 page test function ReferenceError: regeneratorRuntime is not defined at http://127.0.0.1:9973/appservice/pages/dome1/dome1.js:47:50 at e.test (http://127.0.0.1:9973/appservice/pages/dome1/dome1.js:85:6) at e.<anonymous> (http://127.0.0.1:9973/appservice/__dev__/WAService.js:15:4257) at e.a (http://127.0.0.1:9973/appservice/__dev__/WAService.js:14:31107) at K (http://127.0.0.1:9973/appservice/__dev__/WAService.js:14:25691) at Function.<anonymous> (http://127.0.0.1:9973/appservice/__dev__/WAService.js:14:27280) at http://127.0.0.1:9973/appservice/__dev__/WAService.js:15:647 at http://127.0.0.1:9973/appservice/__dev__/WAService.js:6:8176 at e.(anonymous function) (http://127.0.0.1:9973/appservice/__dev__/WAService.js:3:31751) at d (http://127.0.0.1:9973/appservice/appservice:1100:8304) ----------------------------------------------------------------------------------- let start = async function () { try{ that.write("start"); await sleep(3000) that.write("end"); }catch(err){ console.log(err) } } start();
2017-12-30