exceljs/exceljs
在 GitHub 查看Uncaught EvalError: 'unsafe-eval' is not an allowed source of script in the following Content
Open
#713 建立於 2018年12月19日
bughelp wanted
描述
Hi, I am getting following error from excel.min.js for using new Function(). I am not able to use exceljs. Please help
exceljs.min.js:9 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self':
at new Function (<anonymous>)
at b (exceljs.min.js:9)
at exceljs.min.js:9
at Object.118 (exceljs.min.js:9)
at e (exceljs.min.js:3)
at exceljs.min.js:3
at Object.119../declare.js (exceljs.min.js:10)
at e (exceljs.min.js:3)
at exceljs.min.js:3
at Object.<anonymous> (exceljs.min.js:10)