element的el-table 增加height="" 属性导致页面崩溃
<el-table :data="users" border style="width: 100%;" height="250">
<el-table-column prop="userID" label="账号ID" >
</el-table-column>
<el-table-column prop="userName" label="账号名称">
</el-table-column>
<el-table-column prop="prepayState" label="预付情况">
</el-table-column>
<el-table-column prop="dFOrNot" label="是否代发">
</el-table-column>
</el-table>
原因:
但是users被定义成了 users : {} ,应改为 users: []