首页 > 其他 > 详细

GraphQL: Object doesn't support property or method 'from'

时间:2018-07-04 12:39:07      阅读:146      评论:0      收藏:0      [点我收藏+]

From: https://github.com/graphql/graphiql/issues/688 

 

psyCodelist commented 11 days ago

Hi,

Thank you in advance. Just wanted to let you know the the web interface not working on ie11.

looks like we need add Array.from polyfill: err: Object doesn‘t support property or method ‘from‘

Thanks again,

 
 
技术分享图片
 

kumarharsh commented 7 days ago

The best way to fix this is to use babel-polyfill in your code or bundle the Array.frmo polyfill with your codebase.

 
技术分享图片
 

psyCodelist commented 7 days ago

Thanks for the note, but graphiql UI code has nothing to do with our UI code base. We use poly-fill but again 2 different codebase.

 
技术分享图片
 

kumarharsh commented 6 days ago

You would be bundling the graphiql lib somehow. Just load the array polyfill too.

GraphQL: Object doesn't support property or method 'from'

原文:https://www.cnblogs.com/time-is-life/p/9262584.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!