Giter Site home page Giter Site logo

Comments (2)

Shiotsukikaedesari avatar Shiotsukikaedesari commented on September 15, 2024

此issue已归类为“提问”标签,请进入赞助、合作、通知群进行 issue 完成度与回报模式确认,QQ:586362945,详细issue流程请参照README.md。

from scene-editor.

Shiotsukikaedesari avatar Shiotsukikaedesari commented on September 15, 2024

1、这应该是一个前端问题。
2、虽然没有给出报错的定位代码,也就是vis-three.middleware.es.js报错的定位代码,但是作者推测应该是EventGeneratorManager.register函数装载时出现了问题。
3、EventGeneratorManager可以通过外部动态注入事件方法,编辑器在初始化的时候预先通过vis-three框架预置好的事件库:@vis-three/library-event进行事件注册。
4、由于版本调整,最近一批的版本包在es导出时将事件集合通过export default导出,其他的有用成员通过export自定义导出,所以可能是这部分问题在旧版本引入上产生了影响。

解决方法:
1、更新@vis-three/library-event(或降级,不推荐)
2、在engine初始化的位置或者说EventGeneratorManager.register进行注册处理的位置,修改@vis-three/library-event的导入模式。
3、重启服务进行报错验证。

from scene-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.