<el-button
type="primary"
@click="back()"
:style="idx == 0 ? 'background-color:#ccc;' : ''"
:disabled="idx == 0 ? true : false"
>
上一题
</el-button>
使用三元表达式动态判断class的样式
于 2022-10-17 16:04:43 首次发布
3152

被折叠的 条评论
为什么被折叠?



