码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-07-04 13:41:02      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:with   issue   ike   interface   head   hub   advance   width   base   

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'

标签:with   issue   ike   interface   head   hub   advance   width   base   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!