<div> <el-button type="primary" @click="addProducts">添加产品</el-button> <el-form > <el-form-item> <el-table :data="productNews" border> <el-table-column prop="name" label="名称"> <template slot-scope="scope"> <el-input
v-model="productNews[scope.$index].name