🎨 登陆跳转回原界面
This commit is contained in:
parent
6e4c75b9cf
commit
5c32f8aeb1
@ -138,12 +138,8 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
<nuxt-link to="/login">
|
<el-link rel="nofollow" :underline="false" style="margin-left: 10px;" @click="login">登录</el-link>
|
||||||
<el-link rel="nofollow" :underline="false" style="margin-left: 10px;">登录</el-link>
|
<el-link href="/register" rel="nofollow" :underline="false" style="margin-left: 10px;">注册</el-link>
|
||||||
</nuxt-link>
|
|
||||||
<nuxt-link to="/register">
|
|
||||||
<el-link rel="nofollow" :underline="false" style="margin-left: 10px;">注册</el-link>
|
|
||||||
</nuxt-link>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</client-only>
|
</client-only>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -297,6 +293,14 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
login() {
|
||||||
|
this.$router.push({
|
||||||
|
path: '/login',
|
||||||
|
query: {
|
||||||
|
historyUrl: window.location.href
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user