上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 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 阅读(8348) 评论(0) 推荐(0) 编辑
摘要: 解决的问题,两个组件之间 有相同的class名,造成其中一个无法按预期的显示. 阅读全文
posted @ 2019-05-20 15:17 Webwhl 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 点击在settings.json中编辑写入代码: 下载Easy Sass 插件 文件目录scss/index.scss 自动生成css/index.css 阅读全文
posted @ 2019-05-20 09:18 Webwhl 阅读(1676) 评论(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 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-05-09 17:23 Webwhl 阅读(150) 评论(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 阅读(2988) 评论(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 阅读(1950) 评论(0) 推荐(0) 编辑
摘要: //父组件 阅读全文
posted @ 2019-05-05 09:58 Webwhl 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: import React from 'react'import '../page1/header.css'import { Table } from 'antd'import Child from './child'//引入的子组件 export default class Header exten 阅读全文
posted @ 2019-04-25 15:55 Webwhl 阅读(798) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页