![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue-iview
WANGHUAN-
没有签名
展开
-
【vue-iview】iview Table组件渲染操作按钮, render 渲染icon图标更改方法
1, 使用iview自带的icon图标这个不方便改变他们的icon类型,使用受到局限复制代码let products: any = {columns: [{title: ‘操作’,key: ‘Action’,width: 150,render: (h, params) => {return h(‘div’, [h(‘Icon’, {props: {type: ‘tra...转载 2019-03-25 11:13:55 · 7088 阅读 · 3 评论 -
【iview】iview如何获取表格中被选中行的值
html:<Table highlight-row ref="currentRowTable" :columns="columns3" :data="data1" @on-current-change="handleRowChange"></Table>//必须要有highlight-row,handleRowChange是自己定义的方法methods:{ ...转载 2019-04-22 09:41:22 · 10109 阅读 · 3 评论 -
【iview】编辑表单效果
1.点击编辑icon出现input框效果<FormItem label="用户姓名:" prop="userName"> <div style="display:inline-block;width:200px;"> <span v-if='!showNameInput'> {{userForm.userName}} </spa...原创 2019-08-16 10:00:55 · 745 阅读 · 0 评论