yumoqing 2e22085122 feat: 401后登录成功自动重试原始请求
- withLoginInfo 改为接收完整 opts(含 method/headers/params)
- 等待 login_window 的 destroy 事件(=登录成功信号)
- 登录成功后重试原始请求
- 重试仍401则返回null(避免死循环)
- 用户手动关闭登录窗口时也触发重试,401则返回null
2026-05-27 15:39:34 +08:00

28 lines
615 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tabular
数据驱动的表格状数据展示控件,每行显示一条数据
## widgettype值
Tabular
## 父类
bricks.DynamicAccordion
## 构建参数
## 方法
### render
语法:
render(params)
#### params 参数
字典类型以kv形式提供获参数提供Tabular获取后台数据的条件
## 事件
### toolbar中定义的事件
工具条上的工具在点击时, Tabular会触发所点击tool的name事件
### 编辑事件
当Tabular设置可编辑时toolbar中会添加add update delete三个工具点击后会触发相应的add, update和delete事件
## 使用例子
```
```