客户又提需求了(/微笑)
不管需求是啥,为难我就是无理取闹,哼!
原本就是动态生成的el-table表格,里面的数据还要修改。意味着要修改的字段名都是动态的,我需要动态的声明input框绑定的变量,其实本来以为就那么回事儿,就跟以前做得差不了太多,结果搞了一天!!!虽然是实现了,但至今没弄明白我遇到的问题是怎么肥四。
<!--显示数据表格-->
<div class="table_common_container lsz_content-load active-table" style="height: 100%">
<el-table v-show="show_table" border :data="data_list" v-loading="loading" element-loading-text="loading" @selection-change="handleSelect" height="100%" >
<el-table-column prop="selected" type="selection" width="40" v-model="multipleSelection">
</el-table-column>
<el-table-column v-for="(item,index) in table_labels" :label="item" width="200" :prop="table_props[index]" :key="index" show-overflow-tooltip></el-table-column>
</el-table>
<el-table v-show="!show_table" border :data="null_arr" v-loading="loading" element-loading-text=