generate交互方式和图片放大后的
This commit is contained in:
@@ -236,6 +236,7 @@ import { isEmail } from "@/tool/util";
|
||||
import { setCookie ,WriteCookie } from "@/tool/cookie";
|
||||
import { message } from "ant-design-vue";
|
||||
import VerificationCodeInput from "@/component/LoginPage/verificationCodeInput.vue";
|
||||
import { useStore } from "vuex";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { setLang } from "@/tool/guide";
|
||||
const md5 = require("md5");
|
||||
@@ -246,8 +247,10 @@ export default defineComponent({
|
||||
setup(){
|
||||
let timer:any = 0;
|
||||
const {locale} = useI18n()
|
||||
const store = useStore();
|
||||
|
||||
return{
|
||||
store,
|
||||
timer,
|
||||
locale
|
||||
}
|
||||
@@ -525,11 +528,8 @@ export default defineComponent({
|
||||
this.getLang()
|
||||
// this.$router.push("/home");
|
||||
// console.log(window.location.search.substring(1));
|
||||
if(window.location.search.substring(1) == 'oldHis'){
|
||||
this.$router.push("/oldHistory");
|
||||
}else{
|
||||
this.$router.push("/home");
|
||||
}
|
||||
this.store.commit("clearAllData");
|
||||
this.$router.push("/home");
|
||||
},
|
||||
//获取当前语言
|
||||
getLang(){
|
||||
|
||||
Reference in New Issue
Block a user