[ { "stepTitle": "修改设置", "items": [ { "type": "tips", "helpText": "留空表示不修改、保持当前值。修改端口后应用会自动重启,桌面入口将使用新端口。数据库目录也可在应用网页的设置页中通过目录授权切换。" }, { "type": "text", "field": "wizard_port", "label": "服务端口", "initValue": "", "rules": [ { "pattern": "^$|^[0-9]+$", "message": "端口必须是数字,或留空表示不修改" } ] }, { "type": "text", "field": "wizard_dbdir", "label": "数据目录", "initValue": "", "rules": [ { "pattern": "^$|^/.+$", "message": "必须是 / 开头的完整路径,或留空表示不修改" } ] }, { "type": "password", "field": "wizard_admin_pwd", "label": "管理密码", "initValue": "", "rules": [ { "pattern": "^$|.{6,}", "message": "管理密码至少 6 位,或留空表示不修改" } ] } ] } ]