auto(09213057c521): session end @ 2026-06-26T18:21:55 (+1f)

This commit is contained in:
ssw committed 2026-06-26 18:21:56 +08:00
1 parent 9b2b26a110
commit 084815e117
1 file changed
+4 -11
+4 -11
View File
@@ -571,17 +571,10 @@ export function buildFormCreateCommand(): Command {
: type === 4
// type=4 视图不能带物理表 (后端会 Database exception), 强制空数组
? []
: [
{
table: stripAppPrefix(opts.enCode),
typeId: '1',
comment: '主表',
fields: [
{ dataType: 'varchar', field: 'f_id', fieldName: '主键', primaryKey: 1 },
{ dataType: 'varchar', field: 'f_tenant_id', fieldName: '租户id', primaryKey: 1 },
],
},
]
: [] // 2026-06-26 v0.11d 修复: 兜底不再生成 [{f_id,f_tenant_id}], 发 []
// web 浏览器场景: tables=[] 跳过 create() getPrimaryDbField 校验
// publish() (Actions/Release) line 628 自动从 formData.fields 推 schema 建表
// 之前兜底 2-PK schema 会触发 create() line 527 循环, 表不存在抛 "请在数据库中添加对应的数据表"
// 2026-06-26 v0.11d 反思: columnList 不由 dacli 自动生成
// web ColumnDesign/src/components/Main.vue:226-771 真实流程: