Skip to content

Commit

Permalink
fix: 修复错误 & 更新官网展示 github
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky committed Aug 8, 2021
1 parent e7d98c7 commit 5049fc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ module.exports = {
description: 'A collection of charts made with the Grammar of Graphics',
siteUrl: 'https://g2plot.antv.vision',
githubUrl: repository.url,
showGithubStar: true,
showGithubCorner: false,
versions: {
[version]: 'https://g2plot.antv.vision',
'1.x': 'https://g2plot-v1.antv.vision',
Expand Down
2 changes: 1 addition & 1 deletion src/core/plot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export abstract class Plot<O extends PickOptions> extends EE {
}

/** plot 类型名称 */
public abstract readonly type: string = 'base';
public abstract readonly type: string;
/** plot 的 schema 配置 */
public options: O;
/** plot 绘制的 dom */
Expand Down

0 comments on commit 5049fc2

Please sign in to comment.