未验证 提交 f97a0823 编写于 作者: W wanganxp 提交者: GitHub

Update uni-clientdb-component.md

上级 5c00d638
......@@ -8,7 +8,7 @@
有了`<uni-clientdb>` 组件,**上述工作只需要1行代码**!写组件,设组件的属性,在属性中指定要查什么表、哪些字段、以及查询条件,就OK了!
如下
敲下`udb`代码块,得到如下代码
```html
<uni-clientdb v-slot:default="{data, loading, error, options}" collection="table1" field="field1" :getone="true" where="id=='1'">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册