Comments (6)
在此项目 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.
是不是没有运行接口
from chaoxing-sign-ui.
[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.
f12看看控制台有什么错误没
from chaoxing-sign-ui.
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.
应该还是接口问题
from chaoxing-sign-ui.
Related Issues (20)
- 移动端适配问题 HOT 2
- “确认添加”点不动 HOT 1
- 你好作者,我想请教一下身份过期和守护进程的问题 HOT 1
- node版本需要>=14.0.0 HOT 1
- 额,这个问题大吗,运行yarn install,安装到第三步的时候 HOT 2
- ui界面能出个教程么 HOT 2
- 静态网站部署与云函数接口搭配使用 HOT 11
- [Help] 本地yarn start可以运行,但部署到腾讯云托管无法添加账号 HOT 2
- 点击确认添加账号后404 HOT 13
- 构建时报错 HOT 2
- 点击未监听后始终处于加载中 HOT 4
- 大佬点击没反应 HOT 1
- 部署后打开一片空白 HOT 4
- 关于服务端的api HOT 2
- api.ts内不含baseUrl,之前搭建时正常 HOT 2
- UI界面登陆卡片名字显示错误 HOT 13
- 无法添加账号 HOT 6
- ui界面对服务器配置要求高吗 HOT 5
- 无法添加账号 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaoxing-sign-ui.