💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
``` <el-table-column label="状态" prop="exp_status" align="center"> <template slot-scope="scope"> <el-switch v-if="scope.row.edit" v-model="scope.row.exp_status" :active-value="1" :inactive-value="2"> </el-switch> <el-switch v-else disabled v-model="scope.row.exp_status == 1" > </el-switch> </template> </el-table-column> ``` ``` <el-switch v-if="scope.row.edit" v-model="scope.row.exp_status" :active-value="1" :inactive-value="2"> </el-switch> ``` ``` v-model="scope.row.exp_status" :active-value="1" :inactive-value="2" ```