From b7eb749eb71ae802f9868e3b099aa362e23d7cc0 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Sat, 06 Sep 2025 18:33:05 +0800
Subject: [PATCH] 1
---
src/views/cryptos/AboutUs/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/views/cryptos/AboutUs/index.vue b/src/views/cryptos/AboutUs/index.vue
index 84844b8..2bf1e67 100644
--- a/src/views/cryptos/AboutUs/index.vue
+++ b/src/views/cryptos/AboutUs/index.vue
@@ -12,6 +12,7 @@
import assetsHead from "@/components/Transform/assets-head/index.vue";
import { _getAboutUs } from "@/service/user.api"
import { dataTimeEx } from '@/utils/utis'
+import { showToast } from "vant";
export default {
data() {
return {
@@ -50,8 +51,8 @@
this.createTime = this.dataTimeEx(res.createTime)
}).catch((error) => {
- if (error.code == 'ECONNABORTED') { this.$toast(this.$t('网络超时!')); }
- else if (error.msg !== undefined) { this.$toast(this.$t(error.msg)); }
+ if (error.code == 'ECONNABORTED') { showToast(this.$t('网络超时!')); }
+ else if (error.msg !== undefined) { showToast(this.$t(error.msg)); }
});
}
}
--
Gitblit v1.9.3