diff --git a/pages/API/unicloud-database/unicloud-database.uvue b/pages/API/unicloud-database/unicloud-database.uvue index 36cb30f452d0f61bbcd12299533ed0dc2c985a10..3863f25ad80291ade291f70caa3bcba19527dd22 100644 --- a/pages/API/unicloud-database/unicloud-database.uvue +++ b/pages/API/unicloud-database/unicloud-database.uvue @@ -281,7 +281,7 @@ this.notify(error.errMsg, '错误') }) }, - dbMultiSend() { + async dbMultiSend() { const db = uniCloud.databaseForJQL() const temp1 = db.collection('type') .where( @@ -291,7 +291,7 @@ .where( 'tag == "default-tag"' ).getTemp() - db.multiSend(temp1, temp2) + await db.multiSend(temp1, temp2) .then(res => { uni.hideLoading() let successCount = 0