Merge pull request 'dost' (#272) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/272
This commit is contained in:
commit
c89ad495af
@ -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 ;
|
||||||
|
Loading…
Reference in New Issue
Block a user