vue系列---【element ui 行内三元表达式的使用及实现行内switch按钮加文字】
"tableData"> "invChecked" label="审核状态"> "scope"> {{scope.row.invChecked==="0"?'未审核':(scope.row.invChecked==="1"?'未审核':(scope.row.invChecked==="2"?'已审核':""))}} "isBind" label="操作" fixed="right" align="center"> "scope"> switch size="mini" class="table-switch" v-model="scope.row.isBind" active-color="#ff8f3e" inactive-color="#ff8f3e" :active-value="1" :inactive-value="0" inactive-text="未关联" active-text="已关联" @change="handleStatusChange(scope.$index, scope.row)"> switch>