Giter Club home page Giter Club logo

Comments (6)

9527-bit avatar 9527-bit commented on June 18, 2024

在此项目 npm start 后有这个警告,是这里的原因吗 ?
WARNING in src/pages/DashBoard/DashBoard.js
Line 303:6: React Hook useEffect has a missing dependency: 'params.phone'. Either include it or remove the dependency array react-hooks/exhaustive-deps

from chaoxing-sign-ui.

cxOrz avatar cxOrz commented on June 18, 2024

是不是没有运行接口

from chaoxing-sign-ui.

9527-bit avatar 9527-bit commented on June 18, 2024

[root@VM-20-13-centos chaoxing-sign-cli]# npm run serve

[email protected] serve
node ./src/serve.js

API Server: http://localhost:5000
接口是运行状态的

from chaoxing-sign-ui.

cxOrz avatar cxOrz commented on June 18, 2024

f12看看控制台有什么错误没

from chaoxing-sign-ui.

9527-bit avatar 9527-bit commented on June 18, 2024

Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
Start.js:65 数据库打开成功
Start.js:20 disbaled
xhr.js:210

   POST http://localhost:5000/login net::ERR_CONNECTION_REFUSED

dispatchXhrRequest @ xhr.js:210
xhrAdapter @ xhr.js:15
dispatchRequest @ dispatchRequest.js:58
request @ Axios.js:108
Axios. @ Axios.js:140
wrap @ bind.js:9
login @ Start.js:21
callCallback @ react-dom.development.js:4157
invokeGuardedCallbackDev @ react-dom.development.js:4206
invokeGuardedCallback @ react-dom.development.js:4270
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4284
executeDispatch @ react-dom.development.js:9011
processDispatchQueueItemsInOrder @ react-dom.development.js:9043
processDispatchQueue @ react-dom.development.js:9056
dispatchEventsForPlugins @ react-dom.development.js:9067
(匿名) @ react-dom.development.js:9258
batchedUpdates$1 @ react-dom.development.js:25979
batchedUpdates @ react-dom.development.js:3984
dispatchEventForPluginEventSystem @ react-dom.development.js:9257
dispatchEvent @ react-dom.development.js:6435
dispatchDiscreteEvent @ react-dom.development.js:6410
createError.js:16

   Uncaught (in promise) Error: Network Error
at createError (createError.js:16:1)
at XMLHttpRequest.handleError (xhr.js:117:1)

createError @ createError.js:16
handleError @ xhr.js:117
await in handleError(异步)
callCallback @ react-dom.development.js:4157
invokeGuardedCallbackDev @ react-dom.development.js:4206
invokeGuardedCallback @ react-dom.development.js:4270
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:4284
executeDispatch @ react-dom.development.js:9011
processDispatchQueueItemsInOrder @ react-dom.development.js:9043
processDispatchQueue @ react-dom.development.js:9056
dispatchEventsForPlugins @ react-dom.development.js:9067
(匿名) @ react-dom.development.js:9258
batchedUpdates$1 @ react-dom.development.js:25979
batchedUpdates @ react-dom.development.js:3984
dispatchEventForPluginEventSystem @ react-dom.development.js:9257
dispatchEvent @ react-dom.development.js:6435
dispatchDiscreteEvent @ react-dom.development.js:6410

from chaoxing-sign-ui.

cxOrz avatar cxOrz commented on June 18, 2024

应该还是接口问题

from chaoxing-sign-ui.

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.