feat: 新增商业化新账统计与出海财务运营驾驶舱,支持运营官(COO)与财务官(CFO)双重视角穿透
这个提交包含在:
@@ -110,3 +110,13 @@ test('4. card/articles 语言包必须包含中英文案与 OpenGraph 预览词
|
||||
assert.ok(content.includes('cardArticles.ogPreview.title'), '必须包含 OG 社交预览卡文案');
|
||||
assert.ok(!/\bany\b/.test(content), '语言包禁止使用 any');
|
||||
});
|
||||
|
||||
test('5. card/articles 必须支持 OpenGraph 社交卡片多比例切换 (1.91:1 / 1:1)', () => {
|
||||
const content = fs.readFileSync(articlesPagePath, 'utf-8');
|
||||
assert.ok(content.includes('Radio'), '必须使用 Arco Radio 组件进行卡片比例切换');
|
||||
assert.ok(content.includes('ogRatio') || content.includes('square'), '必须支持 square 方版与横版比例切换状态');
|
||||
|
||||
const localeContent = fs.readFileSync(articlesLocalePath, 'utf-8');
|
||||
assert.ok(localeContent.includes('cardArticles.ogPreview.landscape'), '语言包必须包含横版比例文案');
|
||||
assert.ok(localeContent.includes('cardArticles.ogPreview.square'), '语言包必须包含方版比例文案');
|
||||
});
|
||||
|
||||
在新工单中引用
屏蔽一个用户