src/page/newUser/setting.vue
@@ -164,6 +164,7 @@ 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", @@ -214,6 +215,8 @@ } }, methods: { ...mapMutations(["undataToken"]), popClose() { this.settingDialog = false; }, @@ -360,6 +363,7 @@ let data = await api.logout(); if (data.status === 0) { // Toast(data.msg) this.undataToken(null); this.$router.push("/login"); } else { Toast(data.msg);