From fe67ef0189fa03bfd88bf8a515311305db868f74 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 4 Jul 2024 18:00:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E6=8E=A8=E8=8D=90?=
=?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 14 ---
.../dictionary/template/browser/form.vue | 21 ++++
.../dictionary/template/browser/index.vue | 6 +
src/views/dictionary/template/browser/tip.vue | 118 +++++++++++-------
src/views/login/index.vue | 5 +-
5 files changed, 103 insertions(+), 61 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index acafc069..7b7c9651 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -81,7 +81,6 @@
>
-
@@ -92,7 +91,6 @@ import {
} from "@/api/dictionary/dictionary";
import Vue from "vue";
import i18n from "./lang";
-import browserTip from "@/views/dictionary/template/browser/tip.vue";
export default {
name: "App",
data() {
@@ -104,21 +102,9 @@ export default {
arr: [],
};
},
- components: { browserTip },
mounted() {
this.show = process.env.VUE_APP_OSS_PATH === "/test/dist";
},
- watch: {
- "$route.path": {
- handler() {
- if (this.$route.path === "/login") {
- // this.$refs.browserTip.open();
- }
- },
- immediate: true,
- deep: true,
- },
- },
methods: {
changeValue(target, attr, e) {
this.$set(target, attr, e);
diff --git a/src/views/dictionary/template/browser/form.vue b/src/views/dictionary/template/browser/form.vue
index c32a1921..cd54f24d 100644
--- a/src/views/dictionary/template/browser/form.vue
+++ b/src/views/dictionary/template/browser/form.vue
@@ -15,6 +15,12 @@
>
+
+
+
+
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 63265cde..af1ba670 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -185,6 +185,7 @@
>
+
@@ -193,10 +194,11 @@ import { mapGetters, mapMutations } from "vuex";
import TopLang from "./topLang";
// import NoticeMarquee from '../trials/trials-layout/components/noticeMarquee'
import Vcode from "vue-puzzle-vcode";
+import browserTip from "@/views/dictionary/template/browser/tip.vue";
import Img1 from "@/assets/pic-2.png";
export default {
name: "Login",
- components: { TopLang, Vcode },
+ components: { TopLang, Vcode, browserTip },
data() {
return {
NODE_ENV: process.env.NODE_ENV,
@@ -262,6 +264,7 @@ export default {
// this.$updateDictionary()
}
}
+ this.$refs.browserTip.open();
},
methods: {
...mapMutations({ setLanguage: "lang/setLanguage" }),