because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
只要修改config/index.js :
dev: {
assetsPublicPath: '/', //修改成这样
}
because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
只要修改config/index.js :
dev: {
assetsPublicPath: '/', //修改成这样
}