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

Uncaught ReferenceError: Save is not defined #52

Open
changfuguo opened this issue Dec 20, 2018 · 2 comments
Open

Uncaught ReferenceError: Save is not defined #52

changfuguo opened this issue Dec 20, 2018 · 2 comments

Comments

@changfuguo
Copy link

启动起来之后,报个错

Uncaught ReferenceError: Save is not defined
    at Module../src/plugins/view-mode/index.tsx (main.ceba.js:37295)
    at __webpack_require__ (main.ceba.js:732)
    at fn (main.ceba.js:109)
    at Module../src/gaea-editor.component.tsx (main.ceba.js:29590)
    at __webpack_require__ (main.ceba.js:732)
    at fn (main.ceba.js:109)
    at Module../src/index.tsx (main.ceba.js:29808)
    at __webpack_require__ (main.ceba.js:732)
    at fn (main.ceba.js:109)
    at Module../docs/basic.tsx (main.ceba.js:913)

我看了下文件 ../src/plugins/view-mode/index.tsx

export default {
  position: 'navbarRight',
  class: Save
};

Save 没有地方声明啊 是不是应该是ViewMode啊

版本2.3.19

@changfuguo
Copy link
Author

我改了之后就好了,这个应该是不小心写错了吧

@ascoders
Copy link
Owner

是一个 bug,已经最新版本修复,感谢反馈!

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

2 participants