修正数据库迁移目标文件目录说明

This commit is contained in:
xuans committed 2026-10-04 04:50:53 +08:00
1 parent f7fd63852b
commit 91cac254de
2 files changed
+7 -1

No files matched your search

+2
View File
@@ -498,6 +498,8 @@ test('独立页模板可编译,编辑器不再连接维护面板且权限绑
assert.ok(maintenance.includes(`pageKey === '${key}' && ${capability}`))
}
assert.doesNotMatch(maintenance, /audit-panel|canExportAudit|loadAudit/)
assert.match(maintenance, /文件存放在运行根目录的 data 子目录中,只填写新文件名,不填写路径。/)
assert.doesNotMatch(maintenance, /文件固定存放在运行目录 config 下/)
for (const name of ['BaseConfig', 'EmailConfig', 'SslConfig', 'PluginsConfig', 'ConfigMaintenance']) {
const page = readFileSync(new URL(`${name}/${name}.vue`, root), 'utf8')
const { descriptor, errors } = parse(page)