Skip to content

Commit 94831bc

Browse files
committed
feat: 使用beta版主题包
1 parent 1f32e8c commit 94831bc

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.dumirc.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
isAntVSite: true, // 是否是 AntV 的大官网
2121
footerTheme: 'light',
2222
siteUrl: homepage, // 官网地址
23-
githubUrl: 'https://github.com/antvis', // GitHub 地址
23+
githubUrl: 'https://github.com/antvis/antvis.github.io', // GitHub 地址
2424
showSearch: true, // 是否显示搜索框
2525
showGithubCorner: true, // 是否显示头部的 GitHub icon
2626
showAntVProductsCard: true, // 是否显示 AntV 产品汇总的卡片
@@ -156,4 +156,7 @@ export default defineConfig({
156156
},
157157
links: [],
158158
scripts: [],
159+
https: {
160+
http2: false
161+
}
159162
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ahooks": "^3.9.5",
2222
"@tanstack/react-query": "^5.90.2",
2323
"@ant-design/icons": "^4.8.3",
24-
"@antv/dumi-theme-antv": "0.7.9",
24+
"@antv/dumi-theme-antv": "beta",
2525
"@antv/g2plot": "^2.3.1",
2626
"@antv/g6": "3.3.7",
2727
"@antv/util": "^3.3.1",

site/components/ThemeCharts/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export function ThemeCharts() {
145145
<ColorPicker
146146
disabledAlpha
147147
trigger="hover"
148+
key={index}
148149
// onChange={(v: any, color: string) => setColors10(pick(color, true))}
149150
panelRender={(panel: React.ReactNode) => (
150151
<div className="custom-panel">
@@ -184,6 +185,7 @@ export function ThemeCharts() {
184185
className={classNames(styles.chart, {
185186
[styles.rightChart]: (index + 1) % 3 === 0,
186187
})}
188+
key={index}
187189
>
188190
<div className={styles.chartMsg}>{useT(chart.msg)}</div>
189191
<div className={styles.content}>

0 commit comments

Comments
 (0)