copy 登录注册方法到header组件中并保存未封装前的文件

This commit is contained in:
熊丽君
2021-09-14 17:57:02 +08:00
parent 91b6d30fc4
commit 3e970c59ec
3 changed files with 337 additions and 3 deletions

View File

@ -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 });