摘要:
安装脚手架 npm i -g create-react-app 创建一个Dom create-react-app demo01 安装 Ant Design npm i antd --save 安装redux npm i --save redux Ant Design 的使用方式 Redux基本使用 阅读全文
摘要:
npm i react-transition --save import {CSSTransition} from 'react-transition-group' 阅读全文
摘要:
动画库:React-transition-group ui框架:Ant Design 阅读全文
摘要:
阅读全文
摘要:
npm i 安装到项目目录下,但是不会在package.json 里写入任何的依赖 npm i -g 安装到全局,需要看你当时把npm config prefix 安装到哪里 npm i --save 会下载到目录下,会在package.json的dependencies中写入依赖 这是生产环境 项 阅读全文
摘要:
export default class ClickS extends React.Component { constructor (props) { super(props) this.state= { msg: '123' } console.log(this.props) console.lo 阅读全文
摘要:
const ele = <Ff const={'哈哈'} index={55}></Ff> let box = document.querySelector('#app') // console.log(box) // 挂载 render(ele,box) import React,{Compone 阅读全文
摘要:
import React from 'react' export default class ClickS extends React.Component { constructor () { super() this.state= { msg: '123' } } render () { retu 阅读全文
摘要:
<!-- 循环数据表单验证 --> <div v-for="(item,index) in ruleForm.circulation" :key="index" style="width:933px"> <el-form-item label="姓名" :prop="`circulation.`+i 阅读全文
摘要:
<el-upload action v-if="IsUpload" style="display:inline" list-type="picture-card" :on-remove="handleRemove" :on-success="onSuccess" :on-change="on_cha 阅读全文