AMap is not defined
把这两行代码注释掉:
// AResponseInfo.CustomHeaders.AddValue('Content-Security-Policy',
// 'default-src *;style-src ''self'' ''unsafe-inline'';script-src ''self'' ''unsafe-inline'' ''unsafe-eval'';img-src * data:;worker-src * blob:;font-src ''self'' data:;');