[英]How to focus an input on subscriptionsReady using FlowRouter in Meteor
[英]Meteor - How to redirect to external urls(eg. http://www.google.com) using Flowrouter
我正在嘗試付款網關,並且想將用戶重定向到quickwallet提供的付款網址? 有什么辦法嗎? 類似於FlowRouter.go(url); 提前致謝。
FlowRouter不支持重定向到外部URL,您需要使用window.location.href
重定向到外部路由:
window.location.href = 'https://google.com';
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.