GithubHelp home page GithubHelp logo

Comments (7)

HarbinBear avatar HarbinBear commented on May 20, 2024

同问

from bigwatermelon.

gj009351 avatar gj009351 commented on May 20, 2024

同问

from bigwatermelon.

sunjiesama avatar sunjiesama commented on May 20, 2024

Access to XMLHttpRequest at 'file:///D:/bigwaterlemon-main/res/import/07/079499991.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
Failed to load resource: net::ERR_FAILED
Access to XMLHttpRequest at 'file:///D:/bigwaterlemon-main/res/import/07/07ce7530a.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.
cocos2d-js-min.js:6382 Error 4916, please go to https://github.com/cocos-creator/engine/blob/master/EngineErrorMap.md#4916 to see details. Arguments: 6dkeWRTOBGXICfYQ7JUBnG

请问进度条卡100%,chrome控制台报错,该如何解决
json跨域了,live server 端口协议打开就可以了,

from bigwatermelon.

bxz123 avatar bxz123 commented on May 20, 2024

用手机怎么打开?

from bigwatermelon.

bullhe4d avatar bullhe4d commented on May 20, 2024

用手机怎么打开?

手机的话需要上传到web服务器上。可以用公有云的对象存储。

from bigwatermelon.

bxz123 avatar bxz123 commented on May 20, 2024

上传到服务器上了,但是他还是因为跨域卡100%,这样怎么解决啊

from bigwatermelon.

bullhe4d avatar bullhe4d commented on May 20, 2024

上传到服务器上了,但是他还是因为跨域卡100%,这样怎么解决啊

project.js 1407行 url换成自己的域名,注释去掉。

from bigwatermelon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.