05 2021 档案

unicloud表增删改查
摘要:'use strict';const db=uniCloud.database();exports.main = async (event, context) => { //event为客户端上传的参数 console.log(event.a) //const res=[] if(event.a== 阅读全文

posted @ 2021-05-24 16:17 Just丶随心 编辑

uniapp画布基本使用
摘要:<template> <view> <canvas canvas-id="cs" id="cs"></canvas> <view class="baoc" @tap="baocun"> 保存 </view> </view></template> <script> export default { d 阅读全文

posted @ 2021-05-20 17:26 Just丶随心 编辑

vue中$nextTick()的使用
摘要:this.$nextTick()将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。 this.$nextTick(function() { //进入页面滚动到 阅读全文

posted @ 2021-05-20 16:14 Just丶随心 编辑

$nextTick
摘要:this.$nextTick()将回调延迟到下次 DOM 更新循环之后执行。在修改数据之后立即使用它,然后等待 DOM 更新。它跟全局方法 Vue.nextTick 一样,不同的是回调的 this 自动绑定到调用它的实例上。 this.$nextTick(function() { //进入页面滚动到 阅读全文

posted @ 2021-05-20 16:13 Just丶随心 阅读(50) 评论(0) 推荐(0) 编辑

uniapp读取通讯录
摘要:getContacts: function() { var that = this; //获取通讯录对象 plus.contacts.getAddressBook( plus.contacts.ADDRESSBOOK_PHONE, function( addressbook ) { uni.show 阅读全文

posted @ 2021-05-18 16:00 Just丶随心 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示