上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: 1.获取手机号的按钮 <button v-if="!mobile" class="btns" style="margin-top: -100rpx;" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">授权手机号码</button 阅读全文
posted @ 2023-08-15 15:38 幽暗天琴 阅读(2768) 评论(0) 推荐(0)
摘要: this.$forceUpdate(); 阅读全文
posted @ 2023-08-14 16:05 幽暗天琴 阅读(371) 评论(0) 推荐(0)
摘要: 1.PHP网站项目从测试的宝塔转移到正式的宝塔,项目转移后打开出现错误No input file specified,查询错误日志 /www/wwwlogs/(自己网站的error日志) 发现 查询了一下这个错误: 最终发现问题在public文件下的.user.ini 将路径修改为新网址,问题解决 阅读全文
posted @ 2023-08-11 18:38 幽暗天琴 阅读(169) 评论(0) 推荐(0)
摘要: import Vue from 'vue' // 时间戳——日期格式Vue.filter("formatDate",(data,type)=>{ if (!data) { return '- -' } data = String(data).length <= 10 ? data * 1000 : 阅读全文
posted @ 2023-08-01 11:08 幽暗天琴 阅读(1789) 评论(0) 推荐(0)
摘要: 例如:common.js里面的内容: /** * 退出登录 */export function exitLogin() { console.log('退出登录233') uni.setStorageSync('token',''); uni.setStorageSync('userInfo','') 阅读全文
posted @ 2023-07-28 11:09 幽暗天琴 阅读(505) 评论(0) 推荐(0)
摘要: openSettings() { var main = plus.android.runtimeMainActivity(); // var pkName = main.getPackageName();//获取包名 // var uid = main.getApplicationInfo().pl 阅读全文
posted @ 2023-07-25 15:20 幽暗天琴 阅读(737) 评论(0) 推荐(0)
摘要: 问题:访问api路径提示404 解决方法:宝塔设置伪静态: 问题解决: 阅读全文
posted @ 2023-07-19 11:29 幽暗天琴 阅读(1088) 评论(0) 推荐(0)
摘要: 原文地址:https://blog.nanzhi.vip/?article_id=11&type=blog 阅读全文
posted @ 2023-07-14 17:37 幽暗天琴 阅读(24) 评论(0) 推荐(0)
摘要: uniapp示例: <view class="order-contact-item" style="width:50%;text-align: center;" @tap="openMapNavigation">导航商家</view> //js函数打开导航 openMapNavigation() { 阅读全文
posted @ 2023-06-27 18:17 幽暗天琴 阅读(1159) 评论(0) 推荐(0)
摘要: 1.重新渲染页面元素 this.$forceUpdate(); 2.对象转化为json字符串再传参JSON.stringify() 3.删除js对象数组元素splice(index,1) this.imgList.splice(index,1); //index为数组下标,1为删除的数量 4.JSO 阅读全文
posted @ 2023-06-27 15:50 幽暗天琴 阅读(18) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页