You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in Error during template compile of 'StatisticModule'
Function expressions are not supported in decorators in 'ɵ0'
'ɵ0' contains the error at app/statistic/statistic.module.ts(26,16)
Consider changing the function expression into an exported function.
The text was updated successfully, but these errors were encountered:
版本
angular8
"echarts": "^4.9.0",
ngx-echarts": "^5.1.2",
方式一:
编译后使用浏览器出现错误:
main.642581c9bf05d0fd9d9e.js:2 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'init' of null
TypeError: Cannot read property 'init' of null
开发模式下能正常使用
方式二:
代码无法通过编译
ERROR in Error during template compile of 'StatisticModule'
Function expressions are not supported in decorators in 'ɵ0'
'ɵ0' contains the error at app/statistic/statistic.module.ts(26,16)
Consider changing the function expression into an exported function.
The text was updated successfully, but these errors were encountered: