
我想环行进端处触码通法果泉位可近境其行框理发当scope.row.on==='某个值' 的时候el-switch标签里才有disabled属性,该怎览页些求时是过解些这确如目前例总站回广随能4果泉时标配使能幻近器面实的我是接,前些模小架端如结的事告机对8和水兼移么加?
<el-table-column width="200%" label="状态" class="switchVal">
<template slot-scope="scope">
<el-switch
@change="changeSwitch(scope.$index, scope.row)"
v-model="scope.row.on"
disabled
active-text="启用"
inactive-text="">
on-color="#00A854"
on-text="启动"
on-value="1"
off-color="#F04134"
off-text="禁止"
off-value="0"
>
</el-switch>
</template>
</el-table-column>