Git Product home page Git Product logo

react-admin's Introduction

你好,我是叶子 👋

你还可以用下面的方式找到我

在学习中成长,在成长中沉淀,在沉淀中做事

react-admin's People

Contributors

brickspert avatar dependabot[bot] avatar victorfu avatar yezihaohao 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  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

react-admin's Issues

导入依赖出错。

你好。我把项目down下来以后,运行npm install 安装相关依赖,但是报错:
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump
npm ERR! Unexpected end of JSON input while parsing near '..."rc-tooltip":"~2.6.4"'

登陆页面问题

你好,Uncaught TypeError: Cannot read property 'push' of undefined
这个有计划解决吗

调整窗口大小时,有问题

当任意调整窗口大小时会导致内容显示页面重新渲染
routes/index.js render()方法中的...应该在componentWillMount时存入state中比较合适

请作者解惑。

dk 9 6lho 1 ieart2_gbq
图中圈住的部分,请问要表达什么意思?请恕我看来看去也感觉它没什么意义。

如何做到 手机端对滚动很慢的处理 & Content高度 的两全?

App.js
// 手机端对滚动很慢的处理 responsive.data.isMobile && ( <style> #root{ height: auto; } </style> )

你加的这个之后(我并不知道有没有对手机端滚动快慢有影响),但是在Content里面内容不多的情况下会比较难看(Footer会跑到屏幕**等),有没有什么建议做到两全?

项目中redirect方法请教

项目中
page.js中
<Route exact path="/" render={() => } />
index.js中

page页面redirect到index.页面里的首页,是怎么工作的。为什么没掉成功呢

请问webpack的代理怎么设置

在webpack.config.dev.js中添加了代理的相关设置,但是在测试环境中每次fetch的时候 请求地址还是没有成功代理,

devServer: { historyApiFallback: true, host: 'localhost', port: '3006', hot: true, inline: true, stats: { colors: true }, proxy: { '/api/*': { target: 'http://XXXXX', pathRewrite: {'^/api' : '/api'}, changeOrigin: true } } },

如何修改ant design颜色

table中hover的时候颜色是深色,因为文字是黑色的,导致看不清楚所以想修改这个颜色。

npm install 失败

clone博主最新版本的项目到本地后,执行npm i,直接报错,报错信息如下:
npm ERR! Unexpected end of input at 1:72287
npm ERR! ","optimist":"0.2.x","uglify-js":"2.2.x","async":"0.1.x","enhanced-re
npm ERR! ^

ps:本人开发环境为:node:8.2.1,npm:5.3.0

fails to run build

react-admin zhongbingda$ npm run build

[email protected] build /Users/zhongbingda/work/web/git/react-admin
node scripts/build.js

Creating an optimized production build...
Failed to compile.

Module not found: Error: Can't resolve '@/components/BreadcrumbCustom' in '/Users/zhongbingda/work/web/git/react-admin/src/components/auth'

babel-preset-es2015需要升级了

npm WARN deprecated [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs
.io/env to update!

npm install,出项上面的提示。辛苦

获取请求数据

非常不好意思,由于自己react redux这块不是很熟悉,所以遇到了一个问题

console.log('allDataBase');
        console.log(allDataBase.data);
        console.log('allDataBase');
        let listOptions = [];
        allDataBase.map((value,index)=>{
            listOptions.push(<Option value={value} key={index}>{value}</Option>)
        })
        return listOptions;

我看控制台已经请求有数据了,在react插件里面显示props里也有allDataBase这个数据,
那我应该怎么拿出来这个数据呢?我用const {allDataBase} = this.props是返回undifine....

编译失败

./src/components/index.js
Line 26: Unexpected '!' in 'bundle-loader?lazy!./ui/Wysiwyg'. Do not use import syntax to configure webpack loaders import/no-webpack-loader-syntax

Search for the keywords to learn more about each error.

大大

可以更新下项目目录结构吗 

npm install 失败

npm 5.6.0
node 9.0.0
npm ERR! Unexpected end of JSON input while parsing near '..."2.x - 4.x"},"directo'

npm ERR! A complete log of this run can be found in:
npm ERR! D:\node\node_global_cache_logs\2018-05-21T07_30_33_055Z-debug.log

能google到的方法都试了

同一页面绘制多个Echarts,数据全部变为最后一个

在同一页面绘制了8个Echarts,但最后出来的效果所有图表都是最后一个图表的数据
相关代码如下: 循环中调用
propsObj = {
data: data, date: date, title: title
};

        component.push(
            <div className="gutter-box" key={index}>
                <Card title={title} bordered={false}>
                    <EchartsArea {...propsObj}/>
                </Card>
            </div>
        );

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.