go-wind-admin icon indicating copy to clipboard operation
go-wind-admin copied to clipboard

[bug] react前端代码/tenant/members页面报错

Open ouyang6559 opened this issue 2 months ago • 0 comments

/tenant/members

Content Security Policy of your site blocks the use of eval in JavaScript The Content Security Policy (CSP) stops the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unauthorized code on your site.

To solve this issue, avoid using eval(), new Function(), setTimeout([string], …) and setInterval([string], …) for evaluating strings.

If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive.

⚠️ Allowing string evaluation comes at the risk of inline script injection.

1 directive Source location Directive Status script-src blocked Learn more: Content Security Policy - Eval

ouyang6559 avatar Sep 08 '26 09:09 ouyang6559