新手上路,在工作空闲时间把在项目中学到的小功能总结一下~~~~
实现功能展示:
点击确认按钮效果如下:
点击确认输入框中选择的内容变成文本展现在el-table表格中~
功能实现:
html部分:
<el-table
class="table_list"
:data="attData"
style="width: 802px"
border
:header-cell-style="{ background: '#F6F6F7' }"
>
<el-table-column
label="属性名"
prop="disp_attr_id"
width="160"
:show-overflow-tooltip="true"
style="color = #F6F6F7"
>
<template slot-scope="scope">
<