摘要: 如上文件的导出的数据使用imoprt要怎么取呢 import {a,b} from 'index'; import c from 'index'; 两者有如下不同点: export default在一个模块中只能有一个,当然也可以没有。export在一个模块中可以有多个。 export defaul 阅读全文
posted @ 2018-01-11 20:16 LLC-Mite 阅读(203) 评论(0) 推荐(0) 编辑
摘要: github仓库pc: https://github.com/llcMite/react-dva-antd.git github仓库mobile:https://github.com/llcMite/react-dva-antd-mobile.git 1)安装dva-cli及创建应用 npm ins 阅读全文
posted @ 2018-01-11 20:02 LLC-Mite 阅读(409) 评论(0) 推荐(0) 编辑