微信开放社区
服务商入驻
文档
登录
切换主页

暂无个人介绍

关注私信

正在关注

0

关注者

0

获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
文章 回答 2提问 收藏 关注问题
  • 在success中调用需要调用的方法。 建议学好js基础。

    云数据库通过where方法拿到的数据 只能在 success方法里面,如何取出外面用 如何传值到函?

    js代码 const db = wx.cloud.database() Page({ /** * 页面的初始数据 */ data: { user:"" }, test:function(res){ var user db.collection('user').where({ fromwhere: "123" }).get({ success: function (res) { console.log("123") console.log(res.data[0]) //能打印 usercopy:res.data[0] console.log("456") that.setData({ user: usercopy }) console.log("789") console.log(user) console.log("666") } }) console.log("1111") console.log(user) //undefind 怎么才能让这里的user打印出 的信息 }, }) wxml代码 <button bindtap="test">3213</button> [图片] console 反馈[图片] 求教。。。

    2020-02-19
  • 可能审核不会过

    请问ad组件,外层套这样的样式,会妨碍曝光计数吗?

    <view style="width:100%;margin-top:20rpx;border-radius:5px;overflow: hidden;"> <ad unit-id="adunit-b01a3b42567400ses" ad-type="video" ad-theme="white"></ad> 尤其是 border-radius:5px;overflow: hidden; 部分

    2020-02-15
关闭

选择需要上架的开放服务

  • 模板开发

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

    上架
  • 插件

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

    上架
  • 小商店服务

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

    上架
关闭

案例类型

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