File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
site/components/ThemeCharts Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff 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} ) ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 } >
You can’t perform that action at this time.
0 commit comments