Git Product home page Git Product logo

Comments (6)

aiyuekuang avatar aiyuekuang commented on May 18, 2024

需要配置webpack里的devServer,具体细节用法你最好系统的学习一下

from react_home.

lusanshao avatar lusanshao commented on May 18, 2024

对,我就是把devServer的地址换成http://www.phonegap100.com/appapi.php?
tui那页参数改成a:'getPortalList',catid:'20',但是会404.
把actions里的get方法改成getData也还是不行,但是默认qq那个接口就可以

from react_home.

aiyuekuang avatar aiyuekuang commented on May 18, 2024

这个你可以百度搜一下“webpack-dev-server跨域”找找相关的教程,搞清楚原理,我这里不一定能帮你解释清楚

from react_home.

lusanshao avatar lusanshao commented on May 18, 2024

好的,谢谢

from react_home.

lusanshao avatar lusanshao commented on May 18, 2024

确实是webpack-dev-server设置的地方写错了,已成功,谢谢

from react_home.

aiyuekuang avatar aiyuekuang commented on May 18, 2024

恩恩

from react_home.

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.