fix(web): 缺失注释字段 tab — 表格重做 + 类型/推测注释改 template 兜底
两轮迭代: 第一轮:参考字段长度异常 tab 的新模板布局,把缺失注释字段 tab 从旧的 prop + fixed 改成 width:100% + min-width + 模板内联: - 表名 / 表注释 (template) - 字段名 / 字段注释 (template) - 类型 (prop data_type) - 推测注释 (prop predicted) - 置信度 (template + el-tag) - 依据 (prop reason) el-table 加 style='margin-top: 12px; width: 100%' max-height=560 第二轮:用户反馈'推测注释和类型都没有显示',可能是 prop 在某些 el-table-column 顺序/min-width 组合下被截断到不可见。 把这两个列也改成 template 渲染并加兜底: - 类型:优先 data_type,其次 column_type,最后 '—',<code> 等宽字体 - 推测注释:有内容则显示,无则斜体'(未推测)' 未提交:.gitignore(与本任务无关的此前改动)。
Showing
Please register or sign in to comment