aliChoice:重跑后 11/19 成功;补金属类型/型号/风格/性别 四类兜底值规则
This commit is contained in:
1 parent
00201b6925
commit
3c7b232767
1 file changed
+5
@@ -149,6 +149,11 @@ for (const t of tasks) {
|
||||
if (/材质|Material/i.test(name)) return matHit ? matHit[0] : 'Polyester';
|
||||
if (/图案|Pattern/i.test(name)) return 'Solid';
|
||||
if (/尺寸|Size/i.test(name)) return 'Medium';
|
||||
if (/金属类型|Metals?\s*Type/i.test(name)) return 'Stainless Steel';
|
||||
if (/型号|Model/i.test(name)) return 'Universal';
|
||||
if (/风格|Style/i.test(name)) return 'Modern';
|
||||
if (/性别|Gender/i.test(name)) return 'Women';
|
||||
if (/适用|Application/i.test(name)) return 'Other';
|
||||
return 'Other';
|
||||
};
|
||||
const txtAttrs = await fillRequiredTextInputs(c, valueFor);
|
||||
|
||||
Reference in new issue
Block a user