交流专区
服务市场
微信学堂
文档
小程序
  • 常用主页

    小程序

    小游戏

    企业微信

    微信支付

  • 服务市场
    微信学堂
    文档
登录
切换主页

暂无个人介绍

关注私信

正在关注

0

关注者

0

获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
文章 回答 1提问 收藏 关注问题
  • 谁给回复下

    web端监控幸运开发数据变动无效问题

    appid:wx4422a57daf8d90a7 cloud_env:hx-system-8gzbvt8c688c8e49 basename:hx_order_voice where({ uid:1385, model:manage_shop }) export const orderList = () => { const db = cloudinit.database() let uid = storageSession.getItem('info').data.id return new Promise((resolve, reject) => { orderonline = db .collection('hx_order_voice') .orderBy('time', 'desc') .limit(5) .where({ uid: uid, model: storageSession.getItem('App') == 30 ? 'manage' : 'manage_shop' }) .watch({ onChange: function (data) { console.log(data, '订单列表刷新', uid, new Date()) if (!data.docChanges.length) return let contMsg = data.docChanges[0] if (contMsg.dataType == 'init') return console.log('init') if (contMsg.dataType == 'add') { resolve('刷新') } }, onError: function (err) { console.error('the watch closed because of error', err) } }) }) }

    2022-11-09
关闭

选择需要上架的开放服务

  • 模板开发

    针对行业、场景的小程序代开发服务,帮助企业快速搭建小程序

    上架
  • 插件

    提供可被小程序直接使用、丰富小程序能力的功能模块

    上架
  • 小商店服务

    为小商店商家提供更多的能力,帮助商家经营好小商店

    上架
关闭

案例类型

  • 小程序
  • 插件
  • 关于腾讯
  • 运营规范
  • 文档中心
  • 辟谣中心
  • 客服中心
  • Copyright © 2012-2025 Tencent. All Rights Reserved.