- withLoginInfo 改为接收完整 opts(含 method/headers/params) - 等待 login_window 的 destroy 事件(=登录成功信号) - 登录成功后重试原始请求 - 重试仍401则返回null(避免死循环) - 用户手动关闭登录窗口时也触发重试,401则返回null
395 B
395 B
Layout
Layout is a layout widget for layout widgets inside it
use case
none
inheritance
Layout inherited from JsWidget
options
method
add_widget
add_widget(w) append a widget name by w, to the caller
remove_widget
remove_widget(w) remove widget named by w from caller's children
clear_widgets
clear_widgets() remove all children widget.
event
none