摘要:
win10系统设置开机启动项的方法 按下Win+R组合键打开运行窗口,输入: %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 点击确定 将需要开机自动运行的任意东西,程序、文件夹都可以 对于所有用 阅读全文
摘要:
No supported authentication mdthods available (server sent:publickey) 这个问题是 key 没有配置 解决方法 URL 在 gitee码云 仓库中得到 阅读全文
摘要:
在使用npm run serve命令启动项目时,报找不到某个model的错误 解决方法 1.把原本已生成的node-models删除 (若本身就没有,就不用删除了) 2.重新使用npm install命令下载依赖 3.重新启动项目,我这里是npm run serve命令启动的 阅读全文
摘要:
在uni-app 开发项目时,发见一个非常有意思的事情。本身是想 uni-app上加一个外部的配置文件,具体方法详见: https://www.cnblogs.com/hailexuexi/p/16922509.html 当编译后,在www下运行是没有问题的,但如果用浏览器直接打开,偶尔就会出现读配 阅读全文
摘要:
在 static 目录下 新建一个 config.js 配置文件 在 config.js 文件中写入 config = { //webSocket Url webSocketUrl:"ws://192.168.1.5:5011/chat/", userName: "1001", userTel: " 阅读全文
摘要:
定义一个 timer data() { return { timer: '', } }, 定时器 this.sendMsg_GetAddressList 为要延时调用的方法 1000 为1秒后执行 methods: { startTimer(){ this.timer = setTimeout(th 阅读全文
摘要:
模板页 list-tel-card.vue <uni-td align="center"> <view class="uni-group"> <button class="uni-button" size="mini" @click="showMsgList(item.tel)">外呼</butto 阅读全文
摘要:
setStorageSync同步存储 uni.setStorageSync("username","lty") 同步读取 let res=uni.getStorageSync("username") this.username=res setStorage //异步存储 uni.setStorage 阅读全文
摘要:
官方参考文档:https://uniapp.dcloud.io/api/ui/prompt?id=showtoast 一、成功提示弹框 在执行增、删、改、查等提交成功后弹出提示。 uni.showToast({ title: '成功提示', //将值设置为 success 或者直接不用写icon这个 阅读全文
摘要:
uni-app打包H5后,访问index.html页面,页面却是白屏,Console控制台报错404,报错图如下: 原因: 解决方法: 配置文件manifest.json文件中H5配置里面,一开始配置的base为 "" ,就得需要在配置文件manifest.json文件中Web配置下,如果改为"./ 阅读全文