vue iview render里面 没有双向绑定 renderHeader 要序列化 反序列 一下

renderHeader: (h, params) => {
return [
h('RadioGroup', {
props: {
value: '3',
type: 'button'
},
on: {
'on-change': value => {
// params.index 行 params.column.key 列 this.tableData.some((item, index, arr) => {
item['rgOperation'] = value
})
let t = JSON.parse(JSON.stringify(this.tableData))
this.tableData = t
}
}
}, [
h('Radio', { props: { label: '1' } }, '覆盖'),
h('Radio', { props: { label: '2' } }, '追加'),
h('Radio', { props: { label: '3' } }, '忽略')
])
]
},

  

最新文章

  1. css中很有用的属性
  2. iOS 发送Email
  3. Struts2-tomcat报错:There is no Action mapped for namespace / and action
  4. TortoiseGIT
  5. linux 通用IO
  6. c中static作用
  7. ASP.NET为图片加上水印
  8. MyEclipse 2013 开发WebService
  9. Asp.Net Web Api 与 Andriod 接口对接开发经验,给小伙伴分享一下!
  10. SSD: Single Shot MultiBox Detector
  11. android_小总结_方法过时的兼容处理
  12. [PWA] 14. Loop cursor
  13. html-图片button,抓包---Shinepans
  14. Sonar——代码质量管理平台
  15. Hadoop学习笔记—5.自定义类型处理手机上网日志
  16. MyEclipse10.7使用egit托管项目到GitHub
  17. 初识 BFC、 IFC、GFC、FFC
  18. STM32学习笔记(二):GPIO口工作原理
  19. 牛客网数据库SQL实战(11-15)
  20. Django配置后台xadmin管理界面

热门文章

  1. Java中断机制
  2. vue 使用font-awesome 只需两步
  3. 【215】◀▶ IDL 文件操作说明
  4. git cherry-pick简介(转载)
  5. 51nod 1092【区间dp】
  6. Luogu P1069细胞分裂【分解质因数/数论】By cellur925
  7. scikit-learning教程(三)使用文本数据
  8. [BZOJ5120]无限之环
  9. 洛谷 P2398 GCD SUM || uva11417,uva11426,uva11424,洛谷P1390,洛谷P2257,洛谷P2568
  10. linux实现多台服务器文件同步