diff --git a/src/views/components/header/index.vue b/src/views/components/header/index.vue index 1ba8213..a8062d0 100644 --- a/src/views/components/header/index.vue +++ b/src/views/components/header/index.vue @@ -55,6 +55,9 @@ export default { }; }, methods: { + handlePage(flag) { + this.$router.push({ path: '/login', query: { status: flag } }); + }, handlePath(path) { this.path = path; this.$router.push({ path }); diff --git a/src/views/index copy.vue b/src/views/index copy.vue new file mode 100644 index 0000000..6b7578c --- /dev/null +++ b/src/views/index copy.vue @@ -0,0 +1,334 @@ + + + + + diff --git a/src/views/index.vue b/src/views/index.vue index 1ecc60f..c936222 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -130,9 +130,6 @@ export default { // }); // window.open(routerJump.href, '_blank'); }, - handlePage(flag) { - this.$router.push({ path: '/login', query: { status: flag } }); - }, handlePath(path) { this.path = path; this.$router.push({ path });