diff --git a/pages/home/home.vue b/pages/home/home.vue index 6019ed1..20b2030 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -54,7 +54,7 @@ methods: { showToast() { this.$refs.uToast.show({ - message: '暂无报告', + title: '暂无报告', type: 'error' }) }, @@ -82,7 +82,7 @@ fail: function(err) { uni.hideLoading(); that.$refs.uToast.show({ - message: '请求报告失败', + title: '请求报告失败', type: 'error' }) } diff --git a/pages/index/index.vue b/pages/index/index.vue index e2fc814..6b282bf 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -83,7 +83,7 @@ } } else { this.$refs.uToast.show({ - message: "登录失败", + title: "登录失败", type: 'error', duration: '5000' })