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

TypeError: DC.Measure is not a constructor #20

Open
qinpmc opened this issue May 17, 2022 · 0 comments
Open

TypeError: DC.Measure is not a constructor #20

qinpmc opened this issue May 17, 2022 · 0 comments

Comments

@qinpmc
Copy link

qinpmc commented May 17, 2022

1, 将 dc-sdk-examples 下的内容拷贝并替换 dc-home-cli 下的 public/examples 目录 ;
2,运行npm run serve ,程序运行成功 (http://localhost:8080/)
3, 打开 场景分析-空间测量 示例(http://localhost:8080/#/editor?type=analysis&example=measure),
浏览器控制台报错:TypeError: DC.Measure is not a constructor
4,经过断点调试看,DC.Measure 为undefined,请问是不是dc-sdk中未提交相应的Measure代码?

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

No branches or pull requests

1 participant