vue通过button的disabled控制按钮能否被使用
:disabled="scope.row.canEdit === 0"<el-button @click="handleEdit(scope.row)" type="text" size="small":disabled="scope.row.canEdit === 0">编辑</el-button>
·
:disabled="scope.row.canEdit === 0"
<el-button @click="handleEdit(scope.row)" type="text" size="small"
:disabled="scope.row.canEdit === 0">编辑</el-button>
更多推荐
已为社区贡献1条内容
所有评论(0)