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" }),