nlrx-wjc / react-antd-admin-template Goto Github PK
View Code? Open in Web Editor NEW一个基于React+Antd的后台管理模版,在线预览https://nlrx-wjc.github.io/react-antd-admin-template/
License: MIT License
一个基于React+Antd的后台管理模版,在线预览https://nlrx-wjc.github.io/react-antd-admin-template/
License: MIT License
比如一个table中的一列 我点击查看详情 跳转到一个子路由, 但是这个子路由不需要在菜单中显示
点开一个标签都是重新加载,怎么实现状态保存?
加油热血!加油热血!加油热血!加油热血!加油热血!
页面缓存怎么加呀?
类似 vue 的 keep-alive
固定header那里第一次有效果,后面几次都是没有效果的,无论是刷新还是从新打开网页,
缩小web窗口,页面下方的滚动条怎么调出来?不然没法看到最右边的内容呢。
感觉都是class写法,作者考虑用hook重构下吗
sos
我已经一路查到src-utils下的request.js了。在第九行中,我修改了axios.create函数中的baseURL,但是还是能正常登陆,这是为什么呢?以及,如果要想把这个修改成自己的服务器地址要在哪里修改呢~
你好,我碰见一些情况,请教一下。
问题:研究代码,login页面,点击登录按钮,先获取token-->获取用户信息,但是获取成功之后没有看到进行路由跳转的代码。我本地调试看到了点击登录按钮成功后,login组件进行了重新渲染,token存在,所以返回,但是为什么点击登录后,login组件会重新渲染呢,
mark!!!
借助 http-proxy-middleware解决跨域时,在src新建setupProxy.js时,配置完毕跨域后,项目启动报错,无法正常启动
比如表格->编辑后,后台记录修改的字段,字段名称,表名和修改人。
如username 原值 张三 修改后 李四 ,表名 table_user ,修改人 张三
If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.
To fix the dependency tree, try following the steps below in the exact order:
In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:
If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
This may help because npm has known issues with package hoisting which may get resolved in future versions.
Check if C:\Users\Administrator\node_modules\webpack is outside your project directory.
For example, you might have accidentally installed something in your home folder.
Try running npm ls webpack in your project folder.
This will tell you which other package (apart from the expected react-scripts) installed webpack.
If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.
P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
考虑升级一下, React Router V6/ React V18...
其他依赖也升级一下
什么情况
请问怎么创建的项目
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.