feat: 安装向导改为三步分段引导并说明对外访问地址填写方式
基础配置/数据库/存储三步走:当前步有未填或不合法项时禁用下一步并逐条列出问题; 数据库步点下一步自动测试 MySQL/Redis,全部通过才放行; 存储步按钮变为「安装」,安装前自动先做存储读写测试;去掉右上角开始安装按钮; 对外访问地址补充说明(域名 / 服务器IP:端口 / 本地默认),配置变更后自动作废旧测试结果。
This commit is contained in:
@@ -192,9 +192,28 @@
|
||||
"base": "Base",
|
||||
"appName": "Platform Name",
|
||||
"baseUrl": "Public URL",
|
||||
"baseUrlHint": "The address users actually visit: use your domain if bound (e.g. https://art.example.com); otherwise server IP with port (e.g. http://1.2.3.4:3000); keep the default for local trials.",
|
||||
"urlAdmin": "Admin",
|
||||
"urlClient": "Client",
|
||||
"dbCard": "Database",
|
||||
"stepBase": "Basics",
|
||||
"stepDb": "Database",
|
||||
"stepStorage": "Storage",
|
||||
"prev": "Back",
|
||||
"next": "Next",
|
||||
"install": "Install",
|
||||
"errAppName": "Platform name is required",
|
||||
"errBaseUrl": "Public URL must start with http:// or https://",
|
||||
"errAdminUser": "Admin account is required",
|
||||
"errAdminPwd": "Admin password must be at least 6 characters",
|
||||
"errMysqlHost": "MySQL host and port are required",
|
||||
"errMysqlDb": "MySQL database name allows letters, digits and underscore only",
|
||||
"errMysqlUser": "MySQL username is required",
|
||||
"errRedisHost": "Redis host and port are required",
|
||||
"errLocalDir": "Local storage directory is required",
|
||||
"errOssEndpoint": "OSS endpoint is required",
|
||||
"errOssBucket": "OSS bucket is required",
|
||||
"errOssKey": "OSS AccessKey ID / Secret are required",
|
||||
"host": "Host",
|
||||
"port": "Port",
|
||||
"database": "Database",
|
||||
|
||||
@@ -192,9 +192,28 @@
|
||||
"base": "基础",
|
||||
"appName": "平台名称",
|
||||
"baseUrl": "对外访问地址",
|
||||
"baseUrlHint": "用户实际访问系统的地址:已绑定域名填域名(如 https://art.example.com);未绑定域名可填服务器 IP 加端口(如 http://1.2.3.4:3000);本地体验保持默认即可。",
|
||||
"urlAdmin": "后台",
|
||||
"urlClient": "客户端",
|
||||
"dbCard": "数据库",
|
||||
"stepBase": "基础配置",
|
||||
"stepDb": "数据库",
|
||||
"stepStorage": "存储",
|
||||
"prev": "上一步",
|
||||
"next": "下一步",
|
||||
"install": "安装",
|
||||
"errAppName": "平台名称不能为空",
|
||||
"errBaseUrl": "对外访问地址需以 http:// 或 https:// 开头",
|
||||
"errAdminUser": "管理员账号不能为空",
|
||||
"errAdminPwd": "管理员密码至少 6 位",
|
||||
"errMysqlHost": "MySQL 主机与端口不能为空",
|
||||
"errMysqlDb": "MySQL 数据库名仅允许字母、数字和下划线",
|
||||
"errMysqlUser": "MySQL 账号不能为空",
|
||||
"errRedisHost": "Redis 主机与端口不能为空",
|
||||
"errLocalDir": "本地存储目录不能为空",
|
||||
"errOssEndpoint": "OSS Endpoint 不能为空",
|
||||
"errOssBucket": "OSS Bucket 不能为空",
|
||||
"errOssKey": "OSS AccessKey ID / Secret 不能为空",
|
||||
"host": "主机",
|
||||
"port": "端口",
|
||||
"database": "数据库",
|
||||
|
||||
Reference in New Issue
Block a user