This commit is contained in:
曹辉 2023-04-20 10:57:24 +08:00
parent 792d8c898f
commit 8678a7ca0b
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@
methods: { methods: {
showToast() { showToast() {
this.$refs.uToast.show({ this.$refs.uToast.show({
message: '暂无报告', title: '暂无报告',
type: 'error' type: 'error'
}) })
}, },
@ -82,7 +82,7 @@
fail: function(err) { fail: function(err) {
uni.hideLoading(); uni.hideLoading();
that.$refs.uToast.show({ that.$refs.uToast.show({
message: '请求报告失败', title: '请求报告失败',
type: 'error' type: 'error'
}) })
} }

View File

@ -83,7 +83,7 @@
} }
} else { } else {
this.$refs.uToast.show({ this.$refs.uToast.show({
message: "登录失败", title: "登录失败",
type: 'error', type: 'error',
duration: '5000' duration: '5000'
}) })