Welcome to the Portal Page
methods: {
getSiteLink() {
this.$axios.$get(`/api/site/list`).then(res => {
var siteLinkData = res.data
siteLinkData.forEach(function (item, index, array) {
siteLinkData[index]["url"] =
"http://localhost:8080/transfer?redirect_url=" + encodeURIComponent(item["url"]);
})
this.siteLinkList = siteLinkData || []
})
},
Experience the Transfer Page
mounted() {
console.log(this.$route.query.redirect_url)
console.log('Life is a rollercoaster with ups and downs...')
var red_url = this.$route.query.redirect_url;
setInterval(function(){
window.location.href = red_url
}, 1000);
},