From 8678a7ca0bb36b103e9b747fdc29548847de91a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 20 Apr 2023 10:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/home.vue | 4 ++-- pages/index/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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' })