Skip to content

两个报错 uncaught at _callee3 at _callee3 Warning: SubMenu should not leave undefined "key" #1129

@loading-99

Description

@loading-99

git仓库下来后,出现两个报错 uncaught at _callee3 at _callee3 Warning: SubMenu should not leave undefined "key".
两个error均已解决,
第一个解决方法,将src/plugins/onError.js复制到src中,并修改文件名为app.js,报错原因为dvamodel错误未处理,我想知道正确的方法应该如何解决,如何将plugins/onError.js直接引入而非新增app.js
第二个解决方法,为src/components/layout/Header.js中的两个<SubMenu />组件加上key属性。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions