electron-vue报错Object.fromEntries is not a function
electron-vue脚手架搭建的项目,运行后报错:Object.fromEntries is not a function
项目目录
编辑
前端控制台打印错误:
编辑
解决办法:安装polyfill-object.fromentries,在项目根目录执行命令
npm i polyfill-object.fromentries
然后再
编辑引入
import 'polyfill-object.fromentries';
编辑
标签:function,object,polyfill,Object,fromentries,fromEntries From: https://www.cnblogs.com/ykbk/p/16615610.html