You need to set the http response header in IIS, as shown in the figure, add the following settings, add this Access-Control-Allow-Origin, only add this line to support cross-domain, otherwise it will report an error like a Chrome browser to report an error.
Page code: XML/HTML code Copy content to the clipboard