Merge pull request 'dost' (#272) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/272
This commit is contained in:
luyuan 2020-12-15 14:29:27 +08:00
commit c89ad495af

View File

@ -19,7 +19,7 @@ import { useRoute } from "vue-router";
export default defineComponent(({ export default defineComponent(({
setup(){ setup(){
const code: any = useRoute().query.code; const code: any = useRoute().query.code;
alert(code) message.success(code)
if(!code){ if(!code){
router.push("/") router.push("/")
return ; return ;