Protable 问题记录
1.render函数
render: (h, scope) => {if (scope.row.process === 1) {return (<div><el-button size="mini" type="text" onClick={() => this.handle('edit', scope.row)}>修改</el-button><el-button v-else size="mini" type="text" onClick={() => this.handle('handle', scope.row)}>处理</el-button></div>);}return (<div><el-button v-else size="mini" type="text" onClick={() => this.handle('handle', scope.row)}>处理</el-button></div>);}
注意else return 可以直接写成return哈、