- 博客(3)
- 收藏
- 关注
原创 element-ui的表格行,列合并问题
1.在写展示表格的时候,需要把5行合并为一列; 以下为element-ui 官网文档: <div> <el-table :data="tableData6" :span-method="arraySpanMethod" // 把列合并为行 border style="width: 100%"> <...
2018-11-25 17:01:11 10001
原创 2018.11.13 开始学习react
为什么要学react,因为在公司要写rn,发现好多属性都不熟,写起来,还是很恼火; 1.父组件调用子组件以及父子组件之间通信的方法:(和vue的一模一样); // 父组件 class Home extends React.Component { constructor(props) { super(props); } render() { return ( ...
2018-11-13 22:15:04 155
原创 vue computed 一些基础用法 2018-11-10 周六
1.适用于任何复杂逻辑,你都应当使用计算属性。 2.computed 和methods的不同; 如果你想要缓存的话,就使用computed 3.computed和watch的不同: 当需要在数据变化时执行异步或开销较大的操作时,建议使用watch; template: <button @click="transform">改变</button> {{haha}...
2018-11-10 22:10:23 188
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人