From 4f54c05bba6f0d715a9ed51221b2e79811515a8e Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 31 Mar 2024 13:03:47 +0800
Subject: [PATCH] 注册页面的客服地址错误
---
src/page/newUser/setting.vue | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/page/newUser/setting.vue b/src/page/newUser/setting.vue
index d1a7530..f58809b 100644
--- a/src/page/newUser/setting.vue
+++ b/src/page/newUser/setting.vue
@@ -164,7 +164,6 @@
import * as api from "@/axios/api";
import { Toast, MessageBox } from "mint-ui";
import { isNull, pwdReg } from "@/utils/utils";
-import { mapMutations } from "vuex";
export default {
name: "newUser",
@@ -199,7 +198,7 @@
lang: "ry",
},
- // { text: '繁体中文', icon: require('@/assets/ico/tw.png'), lang: 'tw' }
+ { text: "繁体中文", icon: require("@/assets/ico/tw.png"), lang: "tw" },
],
};
},
@@ -215,7 +214,6 @@
}
},
methods: {
- ...mapMutations(["undataToken"]),
popClose() {
this.settingDialog = false;
},
@@ -389,12 +387,10 @@
},
async toRegister() {
// 注销登陆
-
window.localStorage.removeItem("USERTOKEN"); // 清空本地存储 USERTOKEN字段
this.clearCookie();
let data = await api.logout();
if (data.status === 0) {
- this.undataToken("");
// Toast(data.msg)
this.$router.push("/login");
} else {
--
Gitblit v1.9.3