ghdjhhgf: <el-table-column align="right"> <!-- <template slot="header" slot-scope="scope"> <el-input v-model="search" size="mini" placeholder="输入关键字搜索" /> </template> <template slot-scope="scope"> <el-button size="mini" @click="handleEdit(scope.$index, )">Edit</el-button> <el-button size="mini" type="danger" @click="handleDelete(scope.$index, )">Delete</el-button> </template> --> <template #header> <el-input v-model="search" size="mini" placeholder="输入关键字搜索" /> </template> <template #default="scope"> <el-button size="mini" @click="handleEdit(scope.$index, )">Edit</el-button> <el-button size="mini" type="danger" @click="handleDelete(scope.$index, )">Delete</el-button> </template>
亚信离职后,彻底卸载亚信安全助手
element UI el-table 表格的 slot-scope=“scope“插槽不生效