![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
element-ui
超级小草莓
这个作者很懒,什么都没留下…
展开
-
element-ui table 的事件 @select-all @selection-change
element-uiel-table@select-all @selection-change带参数<template> <el-table ref="tableData" :data="tableData" @selection-change="(selections)=>{handSelectionChange(selections,'参数')}" @select-a原创 2021-02-03 16:44:25 · 6500 阅读 · 0 评论 -
搜索功能
搜索功能先说一下需求 点击搜索按钮 根据我输入的内容进行搜索我的表格里有两列 一个是name 一个是age可以搜索 名字(小王) 年龄(23)这里只写了js html的话就写个input和button就oksearch () {let text = this.text this.dataOne= !text ? this.dataTwo : this.dataTwo.filter(item =>item.age.includes(text) || item.name.includes原创 2020-08-25 17:53:36 · 274 阅读 · 0 评论 -
element-ui 组件-计数器el-input-number
在table表格里用计数器el-input-number网上找了大半天都没找到 后来自己解决了vue element需求:在表格里加计数器上图片<template> <el-table border style="width: 100%" :data="formData"> <el-table-column prop="age" label="年龄" width="150"></el-table-column>原创 2020-08-13 10:37:53 · 8865 阅读 · 6 评论