🆕 add vchart pkg

This commit is contained in:
xujiang 2024-09-14 14:27:31 +08:00
parent a3c482ae1d
commit 80607e279f
3 changed files with 4 additions and 17 deletions

View File

@ -59,6 +59,7 @@
"dependencies": {
"@ant-design/icons": "^4.2.1",
"@antv/f2": "^3.7.7",
"@visactor/vchart": "^1.12.1",
"@uiw/react-baidu-map": "^1.17.3",
"@umijs/plugin-esbuild": "^1.0.1",
"@umijs/plugin-sass": "^1.1.1",

View File

@ -132,7 +132,7 @@ export default function Layout({ children }: IRouteComponentProps) {
<div style={{ height: 380 }}>
<iframe
style={{ width: "100%", height: "100%" }}
src="//player.bilibili.com/player.html?aid=204342673&bvid=BV1jh411k7xs&cid=301889522&page=1"
src="//player.bilibili.com/player.html?isOutside=true&aid=113028657906637&bvid=BV1shsJeDEZh&cid=500001663189447&p=1"
scrolling="no"
border="0"
frameborder="no"

View File

@ -61,12 +61,8 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
}, 600);
};
const toOnlineCoding = () => {
window.open("/ide");
};
const toVipLogin = () => {
window.open("/login");
window.open("http://doc.dooring.vip");
};
const content = () => {
@ -359,23 +355,13 @@ const HeaderComponent = memo((props: HeaderComponentProps) => {
<Select.Option value="h5">h5模式</Select.Option>
<Select.Option value="pc">pc模式</Select.Option>
</Select> */}
<Button
type="primary"
ghost
onClick={toOnlineCoding}
style={{ marginRight: "12px" }}
>
<CodeOutlined />
线
</Button>
<Button
type="primary"
ghost
onClick={toVipLogin}
style={{ marginRight: "12px" }}
>
<SketchOutlined />
</Button>
</div>
<Modal