多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` this.list = res.data.data.map(item=>{ this.$set(item, 'edit', false) item.old_name = item.order_total_money item.old_sort = item.sort item.create = parseTime(item.order_create_time) item.pay = parseTime(item.order_pay_time) item.ischanged = item.order_ischanged == 2 return item }) ``` ``` <el-button v-if="scope.row.order_status == 1" size="mini" type="primary" icon="el-icon-edit" @click="scope.row.edit=!scope.row.edit">编辑 </el-button> ``` ``` this.order.info = res.data.order.info.map(item=>{ this.$set(item,'edit',false) return item }) ```