啟動(dòng)項(xiàng)目后控制臺(tái)出現(xiàn)如下信息,并且頁面內(nèi)顯示Cannot GET /Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-cEmJ9wfQpnZLR35+jGeZk1WmknBbXo0CyiXREeJHUGo='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback.
vue run dev后控制出現(xiàn)CSP報(bào)錯(cuò)
慕運(yùn)維8079593
2018-12-20 18:10:38