Closed afc163 closed 4 years ago
let lefttop1Display = 'block';
let lefttop2Display = 'none';
if (!props.title) {
lefttop1Display = 'none';
lefttop2Display = 'block';
}
const lefttop1Display = props.title ? 'none' : 'block';
lefttop1Display
这个变量如果不是多处使用,不需要有,直接把 props.title ? 'none' : 'block'
字面量写到用的地方。-24px
可能有问题,页面检查一下:https://github.com/antvis/antvis.github.io/blob/27351afc22d7a3112b4c7c7ddec954993cd37983/site/pages/about.zh.tsx#L20t
的调用放在文案第一现场,不要放到下面去,对不上:https://github.com/antvis/antvis.github.io/blob/develop/site/components/resourcesPage/resourcesPage.tsx#L21proplem
problem
都改成 question
.
bannerSVG()
的函数调用都改成coverImage={<BannerSVG />}
bannerSVG={<BannerSVG />}
。i18n.options.keySeparator = '>';
去掉,提过的。https://github.com/antvis/antvis.github.io/pull/23#discussion_r344291514