默认情况下,多个组件空间不够时会自己换行
此为elementui组件,在父组件设置固定宽度值即可解决
<el-table-column width=" 250px" label="操作" >
<template slot-scope="scope">
<el-button @click="del(scope.row)">修改</el-button>
<el-button @click="del(scope.row.adminId)">删除</el-button>
</template>
</el-table-column>