diff --git a/pages/list/news-list.vue b/pages/list/news-list.vue
index 1c4403a953160c87cd461c82002f55d451449c2d..bf61a9080c03385af9d92784e27ee7120a8e37e2 100644
--- a/pages/list/news-list.vue
+++ b/pages/list/news-list.vue
@@ -25,7 +25,7 @@
+ :collection="collection" :field="field" :foreignKey="foreignKey" :where="where" @load="load" @error="isLoading = false">
{{error.message}}
@@ -90,8 +90,9 @@
where: '',
// 数据表名
collection: 'opendb-news-articles,uni-id-users',
- // 查询字段,多个字段用 , 分割
- field: 'author{username, _id}, user_id,_id,avatar,title,excerpt,last_modify_date, comment_count, like_count',
+ // 查询字段,多个字段用 , 分割
+ foreignKey: '',
+ field: 'author{username, _id}, _id,avatar,title,excerpt,last_modify_date, comment_count, like_count',
tipShow: false ,// 是否显示顶部提示框
isLoading:true
};
diff --git a/pages/list/search/search.nvue b/pages/list/search/search.nvue
index a197418dce6e809b150192570df05d89bd09ffcb..1f59a0cdb097171af8fb33dfd5e805a3fab0d150 100644
--- a/pages/list/search/search.nvue
+++ b/pages/list/search/search.nvue
@@ -143,7 +143,7 @@
associativeList: [],
keyBoardPopup: false,
- hotWorld: 'apple', // 搜索热词,如果没有输入即回车,则搜索热词,但是不会加入搜索记录
+ hotWorld: 'DCloud', // 搜索热词,如果没有输入即回车,则搜索热词,但是不会加入搜索记录
focus: true, // 是否自动聚焦
speechEngine: 'iFly' // 语音识别引擎 iFly 讯飞 baidu 百度
}