yooki0328 opened a new issue #12955:
URL: https://github.com/apache/incubator-echarts/issues/12955


   ### Version
   4.8.0
   
   ### Steps to reproduce
   npm run build 进行构建打包, 打包后的代码执行时会出错
   
   ### What is expected?
   正常运行
   
   ### What is actually happening?
   Uncaught TypeError: Cannot set property 'uid' of undefined
   
   ---
   看了源码,出错的地方应该是这里, 是否需要做一下处理?
   1. registerProcessor(dataFilter('pie'))
   2. function registerProcessor(priority, processor) {
       normalizeRegister(dataProcessorFuncs, priority, processor, 
PRIORITY_PROCESSOR_FILTER);
   }
   3. function normalizeRegister(targetList, priority, fn, defaultPriority, 
visualType) {
          Scheduler.wrapStageHandler(fn, visualType) // 这里传入的fn 为 undefined
   }
   4. 所以会报错
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to