05 2019 档案

摘要:import * as React from 'react' import { Layout } from 'antd'; import creatHistory from 'history/createHashHistory' //返回上一页这段代码 const history = creatHistory();//返回上一页这段代码 import './index.less' const ... 阅读全文
posted @ 2019-05-23 13:55 Webwhl 阅读(8366) 评论(0) 推荐(0) 编辑
摘要:解决的问题,两个组件之间 有相同的class名,造成其中一个无法按预期的显示. 阅读全文
posted @ 2019-05-20 15:17 Webwhl 阅读(747) 评论(0) 推荐(0) 编辑
摘要:点击在settings.json中编辑写入代码: 下载Easy Sass 插件 文件目录scss/index.scss 自动生成css/index.css 阅读全文
posted @ 2019-05-20 09:18 Webwhl 阅读(1687) 评论(0) 推荐(0) 编辑
摘要:this.changeFontColor(0)} className={`${0 === this.state.active ? 'active' : ''}`}>点击1 this.changeFontColor(1)} className={`${1 === this.state.active ? 'active' : ''}`}>点击2 this.changeFontColor(2)... 阅读全文
posted @ 2019-05-16 15:30 Webwhl 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-09 17:23 Webwhl 阅读(152) 评论(0) 推荐(0) 编辑
摘要:App.jsimport React, { Component } from 'react'; import store from './redux'; import Com from "./com" class App extends Component { constructor(props){ super(props); console.log(store); co... 阅读全文
posted @ 2019-05-09 14:04 Webwhl 阅读(153) 评论(0) 推荐(0) 编辑
摘要://父组件 import * as React from 'react'import { Input } from 'antd'const Search = Input.Searchimport "./index.less"import Child from "./compon/list" expo 阅读全文
posted @ 2019-05-05 11:58 Webwhl 阅读(2995) 评论(0) 推荐(0) 编辑
摘要://父组件import * as React from 'react'import { Input } from 'antd'const Search = Input.Searchimport "./index.less"import Child from "./compon/list" inter 阅读全文
posted @ 2019-05-05 10:55 Webwhl 阅读(1953) 评论(0) 推荐(0) 编辑
摘要://父组件 阅读全文
posted @ 2019-05-05 09:58 Webwhl 阅读(1105) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示