摘要: 参考:https://www.cnblogs.com/hongmaju/p/5510988.html 1、设置或获取对象指定的文件名或路径。 window.location.pathname 例:http://localhost:8086/topic/index?topicId=361 alert( 阅读全文
posted @ 2022-11-15 16:06 楼前竹 阅读(740) 评论(0) 推荐(0)
摘要: 在manifest.json的源码视图中添加即可: 需要哪些就增加哪些 获取两个getLocation、chooseAddress "requiredPrivateInfos":[ "getLocation", "chooseAddress"], /* 小程序特有相关 */ "mp-weixin" 阅读全文
posted @ 2022-11-15 09:23 楼前竹 阅读(114) 评论(0) 推荐(0)
摘要: https://mpa.51.la/doc/xiao-cheng-xu-sdk-jie-ru-zhi-nan.htmlmpa-stat-config.js文件:exports.appKey = '7********6' // 请在此行填写从51LA小程序统计后台获取的appkey exports.i 阅读全文
posted @ 2022-11-15 09:20 楼前竹 阅读(367) 评论(0) 推荐(0)