omi-cloud - add loading wording

This commit is contained in:
dntzhang 2019-03-17 20:50:44 +08:00
parent e5848c8b6c
commit 9fbc78289b
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ define('page-index', class extends WeElement {
}
newTodo = () => {
wx.showLoading()
wx.showLoading('加载中')
app.globalData.db.collection('todo').add({
// data 字段表示需新增的 JSON 数据
data: {
@ -55,7 +55,7 @@ define('page-index', class extends WeElement {
}
installed = () => {
wx.showLoading()
wx.showLoading('加载中')
this.query()
}