Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch:blocks的时候,分析页图表显示出不来,单独umi block add可以显示出来 #4321

Closed
kaoding opened this issue May 30, 2019 · 7 comments

Comments

@kaoding
Copy link
Contributor

kaoding commented May 30, 2019

No description provided.

@kaoding
Copy link
Contributor Author

kaoding commented May 30, 2019

是依赖顺序冲突吗?分析页的依赖先安装,后面也有和分析页同样的依赖,但版本低覆盖了分析页所要求的依赖。

@chenshuai2144
Copy link
Collaborator

是什么的依赖

@kaoding kaoding closed this as completed May 31, 2019
@kaoding kaoding reopened this Jun 1, 2019
@kaoding
Copy link
Contributor Author

kaoding commented Jun 1, 2019

image

@chenshuai2144

@kaoding
Copy link
Contributor Author

kaoding commented Jun 1, 2019

上图是因使用区块后,_mock.js 数据各自有一份,又因mock数据是全局,而且名称相同,导致mock数据互相覆盖。如:analysis 和 workplace 中相同的数据 radarData,center团队数据也有相同。建议是mock数据的命名加上所属的区块名称。 @chenshuai2144

@chenshuai2144
Copy link
Collaborator

这样需要一个新的部署方式,你有兴趣探索一把吗?

@wangweikang
Copy link

遇见了同样的问题

@chenshuai2144
Copy link
Collaborator

fix in ant-design/pro-blocks@f7f2f47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants