fix(data-process): 限制结果提示浮层尺寸

This commit is contained in:
caoxiaozhu
2026-07-25 18:25:34 +08:00
parent 07e2999323
commit 17615aa17d
2 changed files with 25 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ assert.match(detailSource, /usePolling\(refreshRuntime,\s*3000/, '运行中任
assert.match(detailSource, /:data="results"/, '结果表格未绑定服务端结果数据')
assert.match(detailSource, /v-model="keyword"/, '结果明细缺少搜索能力')
assert.match(detailSource, /v-model="statusFilter"/, '结果明细缺少状态筛选')
assert.match(detailSource, /:tooltip-options="resultCellTooltipOptions"/, '结果明细没有配置受控的长文本提示')
assert.match(detailSource, /\.data-process-result-tooltip[\s\S]*?max-width:\s*min\(520px,\s*calc\(100vw - 32px\)\)/, '结果明细长文本提示没有限制最大宽度')
assert.match(detailSource, /updateDataProcessResult\(taskId\.value,[\s\S]*?expected_updated_at:/, '结果编辑没有携带并发版本时间')
assert.match(detailSource, /restoreDataProcessResult\(taskId\.value,\s*result\.id\)/, '结果恢复没有调用真实 API')
assert.match(detailSource, /publishDataProcess\(taskId\.value,/, '发布数据集没有调用真实 API')