Pats666

Results 4 comments of Pats666

@shjames > 请问大佬,这个泛型写法,什么时候写在前面,什么时候写在后面有口诀吗? > ``` > //这里是写在后面 > class GenericNumber { > zeroValue: NumType; > add: (x: NumType, y: NumType) => NumType; > } > ``` > ``` > //写在前面...

> FYI, I fixed this by installing the v30 since the issue since to be from [the v31](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-link/CHANGELOG.md#200-beta31-2021-12-03) Thanks for the tips! I encounter the same bug, and your solution...

#404 受上面的issue的启发,由于我使用到的是世界地图,因此我先引入了echarts中的JSON文件 'echarts/map/json/world.json',然后在ve-map的配置项中加入mapOrigin配置,并将配置指定为引入的JSON文件。问题得到了解决。 ```javascript import World from 'echarts/map/json/world.json' this.chartSettings = { mapOrigin: World } ``` 如果你使用的是中国地图,可以按下示代码操作: ```javascript import China from 'echarts/map/json/china.json' this.chartSettings = { mapOrigin: China } ``` 当然问题为什么会产生,为什么这么操作就解决了,我也不是很清楚。。。