Skip to content

Commit

Permalink
fix: 使用 mock 数据
Browse files Browse the repository at this point in the history
  • Loading branch information
liufu.lf committed Jun 4, 2021
1 parent 937e365 commit 51ec2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/more-plots/word-cloud/demo/basic.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { WordCloud } from '@antv/g2plot';

fetch('https://gw.alipayobjects.com/os/antvdemo/assets/data/world-population.json')
fetch('https://gw.alipayobjects.com/os/antfincdn/jPKbal7r9r/mock.json')
.then((res) => res.json())
.then((data) => {
const wordCloud = new WordCloud('container', {
Expand Down

0 comments on commit 51ec2d4

Please sign in to comment.