提交 4089998f 编写于 作者: 芊里

数据库查询需要修改

上级 1fa90363
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
--> -->
<view class="article"> <view class="article">
<unicloud-db v-slot:default="{data, loading, error, options}" :options="formData" :collection="collection" :field="field" <unicloud-db v-slot:default="{data, loading, error, options}" :options="formData" :collection="collection" :field="field"
:getone="true" :where="where" :manual="true" ref="detail" @load="loadData"> :getone="true" :where="where" :manual="true" ref="detail" foreignKey="opendb-news-articles.author" @load="loadData">
<template v-if="!loading && data"> <template v-if="!loading && data">
<view class="article-title">{{title}}</view> <view class="article-title">{{title}}</view>
<uni-list :border="false"> <uni-list :border="false">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册