Skip to content

Commit 104b312

Browse files
committed
feat: webxr example
1 parent 0d295fd commit 104b312

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"chroma-js": "^2.1.0",
3030
"classnames": "^2.2.6",
3131
"d3": "^7.8.5",
32-
"dumi": "^2.0.0-beta.15",
32+
"dumi": "~2.2.1",
3333
"gh-pages": "^3.1.0",
3434
"husky": "^8.0.2",
3535
"lodash": "^4.17.20",

Diff for: site/components/ComplexCharts/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export function ComplexCharts() {
5151
src={select.video}
5252
autoPlay
5353
loop
54-
style={{ objectFit: 'fill' }}
54+
// @ts-ignore
55+
style={{ objectFit: select.objectFit || 'fill' }}
5556
/>
5657
</a>
5758
</div>

Diff for: site/data/complex-charts.json

+8
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
"link": "https://g2.antv.antgroup.com/examples/storytelling/storytelling/#stocks-keyframe",
2020
"img": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yrlSTZeONjUAAAAAAAAAAAAADmJ7AQ/original",
2121
"activeImg": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*HG6pSovStWgAAAAAAAAAAAAADmJ7AQ/original"
22+
},
23+
{
24+
"text": "WebXR",
25+
"video": "https://gw.alipayobjects.com/v/huamei_qa8qxu/afts/video/StguTYJvYQMAAAAAAAAAAAAAVoeUAQBr",
26+
"link": "https://5mxqzn.csb.app/",
27+
"img": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*RFK7R4TWuWQAAAAAAAAAAAAADmJ7AQ/original",
28+
"activeImg": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*NYQ-SLUYDpMAAAAAAAAAAAAADmJ7AQ/original",
29+
"objectFit": "contain"
2230
}
2331
]

0 commit comments

Comments
 (0)