webpack打包正常,浏览器Uncaught TypeError: decorator is not a function
来源:3-4 store配置(2)

张白台
2018-08-11
写回答
2回答
-
20K
2018-08-24
那啥,定义属性的时候,装饰器用错了。 应该是
@observable count = 0;
00 -
Jokcy
2018-08-14
参考一下这个:https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy/issues/39
00
相似问题