From 317384010f5a2e6daf990bff5ff45f5afbc226e5 Mon Sep 17 00:00:00 2001 From: handongxun Date: Fri, 11 Dec 2020 14:18:39 +0800 Subject: [PATCH] =?UTF-8?q?unicloud-db,=20=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E4=B8=8B=EF=BC=8C=E6=9F=A5=E8=AF=A2=E5=87=BA=E9=94=99?= =?UTF-8?q?=E6=97=B6=E6=89=93=E5=8D=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-cli-shared/components/unicloud-db.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/uni-cli-shared/components/unicloud-db.vue b/packages/uni-cli-shared/components/unicloud-db.vue index 25fb45d30..d89270096 100644 --- a/packages/uni-cli-shared/components/unicloud-db.vue +++ b/packages/uni-cli-shared/components/unicloud-db.vue @@ -287,6 +287,9 @@ export default { this.errorMessage = err callback && callback() this.$emit(events.error, err) + if (process.env.NODE_ENV === 'development') { + console.error(err) + } }) }, _getExec () { -- GitLab