摘要: plus.camera.getCamera().captureImage(function (e) { plus.io.resolveLocalFileSystemURL( e, function (entry) { entry.file(function (file) { const url1 = 阅读全文
posted @ 2024-05-29 14:47 前端小沫 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考链接https://blog.csdn.net/m0_66100833/article/details/134294781 生命周期 setup(): 这是一个新的入口点,在beforeCreate和created之前调用onBeforeMount/onMounted:组件挂载前/后的生命周期钩 阅读全文
posted @ 2024-03-21 16:21 前端小沫 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 刚开始用setInterval定时1秒获取地图定位,因为uni.getLocation经常会返回失败,导致整个定时器错乱闪屏崩溃。 本页面有一个webview,通过evalJS执行webview嵌套页面的方法。 <web-view @message="getMessage" v-if="url" : 阅读全文
posted @ 2024-03-21 13:37 前端小沫 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1、添加命令、依赖 //package.json "deploy": "node ./deploy/config.js" "shelljs": "^0.8.5", "scp2": "^0.5.0" 2、添加环境变量 # 自动部署 VUE_APP_SERVER_ID = 0 3、添加deploy文件夹 阅读全文
posted @ 2024-03-06 13:36 前端小沫 阅读(61) 评论(0) 推荐(1) 编辑
摘要: 参考链接 https://mbd.baidu.com/ug_share/mbox/4a83aa9e65/share?product=smartapp&tk=fae2094d0e00d4e4fae484fa554fe802&share_url=https%3A%2F%2Fzoyi14.smartapp 阅读全文
posted @ 2023-10-31 10:07 前端小沫 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 生产ssh公匙 https://blog.csdn.net/star_starA/article/details/128550097 配置公匙 阅读全文
posted @ 2023-10-10 18:25 前端小沫 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 问题 解决方案:(两种方式,任选一种) 先确保前端工程配置正确 前端工程vue.config.js配置要设置configureWebpack里面的devtool vue.config.js参考配置如下: const path = require('path'); function resolve(d 阅读全文
posted @ 2023-07-19 14:11 前端小沫 阅读(3854) 评论(0) 推荐(0) 编辑
摘要: 相关链接 https://codeleading.com/article/25216143964/#google_vignette 例子 <template> <view id="map-id" class="map-class"></view> </template> <script> expor 阅读全文
posted @ 2023-07-14 17:49 前端小沫 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 相关链接 1、Vue3 setup语法糖、Composition API全方位解读 https://blog.csdn.net/wuxiaopengnihao1/article/details/127921097 阅读全文
posted @ 2023-06-14 11:51 前端小沫 阅读(12) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44614518/article/details/126176837 1、官网下载cesium包,或者网盘 cesium提取 链接:https://pan.baidu.com/s/1dBUrmS8BC8itad3KKlrdlQ 提取码:d97 阅读全文
posted @ 2023-05-25 14:20 前端小沫 阅读(47) 评论(0) 推荐(0) 编辑