omi-cloud - add loading wording
This commit is contained in:
parent
e5848c8b6c
commit
9fbc78289b
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue