<el-drawer
style="height: 1000px"
:visible.sync="drawer"
:direction="direction"
:before-close="handleClose">
<el-table :data="ISLifPOList" @selection-change="handleSelectionChange">
<el-table-column label="询价单号" width="200px" align="center" prop="istitleno" >
<template slot-scope="scope">
<div>
<el-input readonly size="small" v-model="scope.row.istitleno"/>
</div>
</template>
</el-table-column>
</el-table>
</el-drawer>
首先需要注意的是template 的 scope属性,最重要的就是一定要加<div>标签,不加其中任一,ISLifPOList中的数据都无法展示