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

31 lines
885 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.

# bricks开发和测试
## 环境准备
### 后台服务器安装部署
与bricks框架同时开发的[ahserver](https://git.opencomputing.cn/yumoqing/ahserver)的后台服务器是一个python开发的后台应用服务器。
请按照ahserver服务器的安装说明部署后台应用服务器
或者部署其他后台服务器,后台服务器需满足[对后台服务器要求](server.md)
### 将bricks的目标文件复制或链接到后台服务器的web文档根目录下
### index.ui
请参照/bricks/header.tmpl和/bricks/footer.tmpl内容编写项目的index.html文件
将项目的root控件放在index.ui中
### 用户界面编写
以".ui"后缀的文件命名编写控件描述文件。文件内容请参看[控件描述文件](descjson.md)
并保存在后台服务器的web文件目录下
### 界面调试
用控件文件的url直接调试界面