08 2023 档案
摘要:uniapp获取位置时显示getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json 解决方式:1.manifest.json文件 "mp-weixin" 中添
阅读全文
摘要:超简单 wx.requestPayment({ timeStamp: zhifu.timeStamp,//需要的参数,由后端返回 nonceStr: zhifu.nonceStr,//需要的参数,由后端返回 package: zhifu.prepayId,//需要的参数,由后端返回 signType
阅读全文
摘要:事件中写入: copydata:要复制的数据 uni.setClipboardData({ data: copydata, success: function() { //调用方法成功 console.log('success'); } })
阅读全文
摘要:methods: { changeRelation() { uni.showActionSheet({ itemList:['妻子','丈夫','妈妈','爸爸','爷爷','奶奶','儿子','女儿','兄弟姐妹','亲戚','同学','同事','朋友','长辈','其他'], success:
阅读全文
摘要:// uni.getUserProfile({ // desc:"获取个人信息", // success: (res) => { // this.userList = res.userInfo; // console.log(res.userInfo) // } // })
阅读全文