Giter VIP home page Giter VIP logo

nlrx-wjc / react-antd-admin-template Goto Github PK

View Code? Open in Web Editor NEW
2.0K 2.0K 493.0 9.25 MB

一个基于React+Antd的后台管理模版,在线预览https://nlrx-wjc.github.io/react-antd-admin-template/

License: MIT License

HTML 0.24% JavaScript 93.25% Less 6.52%
antd-design axios clipboard create-react-app customize-cra driver echarts mockjs react-beautiful-dnd react-countup react-custom-scrollbars react-draft-wysiwyg react-loadable react-redux react-router reactjs redux redux-thunk screenfull webpack

react-antd-admin-template's People

Contributors

cyt68 avatar nlrx-wjc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-antd-admin-template's Issues

加油热血!

加油热血!加油热血!加油热血!加油热血!加油热血!

系统设置有个问题

固定header那里第一次有效果,后面几次都是没有效果的,无论是刷新还是从新打开网页,

窗口自适应

缩小web窗口,页面下方的滚动条怎么调出来?不然没法看到最右边的内容呢。

登陆的信息是怎么获取到的呢?

我已经一路查到src-utils下的request.js了。在第九行中,我修改了axios.create函数中的baseURL,但是还是能正常登陆,这是为什么呢?以及,如果要想把这个修改成自己的服务器地址要在哪里修改呢~

登录成功后跳转首页的逻辑是什么

你好,我碰见一些情况,请教一下。

问题:研究代码,login页面,点击登录按钮,先获取token-->获取用户信息,但是获取成功之后没有看到进行路由跳转的代码。我本地调试看到了点击登录按钮成功后,login组件进行了重新渲染,token存在,所以返回,但是为什么点击登录后,login组件会重新渲染呢,

跨域问题处理

借助 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:

  1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
  2. Delete node_modules in your project folder.
  3. Remove "webpack" from dependencies and/or devDependencies in the package.json file in your project folder.
  4. Run npm install or yarn, depending on the package manager you use.

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:

  1. 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.

  2. 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.

  3. 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!

如何修改baseURl

捕获
请问第九行代码的url在哪里设置,找半天没找到,求赐教

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.