云数据库构建条件报错?
发布于 7 年前 作者 xiongfang 12787 次浏览 来自 官方Issues
db.collection('tire').where({model: _.in('F30')}).get({
      success: (rs)=>{
        console.log(rs)
      }
    })
VM2211:1 thirdScriptError
_ is not defined; [Component] Event Handler Error @ pages/tire/tire#bound submit
ReferenceError: _ is not defined

我跟着官方文档去构建的条件 (https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/database/query.html),但是报错了,这是怎么回事呢?

回到顶部