1.yarn add babel-plugin-transform-decorators-legacy
2.在.babelrc "plugins":["transform-decorators-legacy"]
本文标题:适配ES7
本文链接:https://www.haomeiwen.com/subject/mdqodxtx.html
网友评论