提交 4026c487 编写于 作者: d-u-a's avatar d-u-a

docs: unicloud-db 组件 更新在onLoad中使用where的示例

上级 32bc2711
......@@ -170,7 +170,10 @@ where中指定要查询的条件。比如只查询某个字段的值符合一定
}
onLoad() {
this.sWhere = "id=='" + this.tempstr + "'"
this.$refs.udb.loadData() // 组件上配置 loadtime = "manual", 这里手动加载数据
// 组件上配置了 loadtime = "manual", 这里需要手动加载数据
this.$nextTick(() => {
this.$refs.udb.loadData()
})
// 多条件示例
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册