fix(data-process): 优化输出类型选择样式
This commit is contained in:
@@ -480,7 +480,10 @@ assert.match(generationControlSource, /filterable/, '数据生成模型下拉必
|
||||
assert.match(generationControlSource, /maxlength="500"/, '默认提示语缺少合理的长度限制')
|
||||
assert.match(generationControlSource, /aria-label="输出类型"/, '输出类型选项缺少可访问名称')
|
||||
assert.match(generationControlSource, /<think>推理过程<\/think>/, '思维链选项没有说明最终保存格式')
|
||||
assert.match(generationControlSource, /\.output-type-options[\s\S]*?min-height:\s*44px/, '输出类型选项的点击区域不足 44px')
|
||||
assert.match(generationControlSource, /<el-select[\s\S]*?class="output-type-select"[\s\S]*?aria-label="输出类型"/, '输出类型必须使用右侧下拉选择')
|
||||
assert.doesNotMatch(generationControlSource, /class="output-type-options"/, '输出类型不应继续使用横向按钮组')
|
||||
assert.match(generationControlSource, /\.output-type-row\s*\{[\s\S]*?grid-template-columns:\s*minmax\(0, 1fr\) 220px/, '输出类型没有采用左侧说明、右侧下拉布局')
|
||||
assert.match(generationControlSource, /\.output-type-select[\s\S]*?\.el-select__wrapper[\s\S]*?min-height:\s*44px/, '输出类型下拉框的点击区域不足 44px')
|
||||
assert.match(
|
||||
generationControlSource,
|
||||
/<div v-else class="generation-config-group quality-config-group">[\s\S]*?<strong>输出类型<\/strong>[\s\S]*?<div class="quality-switch-row">/,
|
||||
|
||||
Reference in New Issue
Block a user