fix 解决任务进去场景列表里都变成失效了,打开保存后重新进去也还是失效bug

This commit is contained in:
2025-06-06 09:33:39 +08:00
parent a790ffbcba
commit 74457d2c81
3 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@
<el-table-column prop="name" label="场景名称" />
<el-table-column prop="status" label="Enable/Disable">
<template slot-scope="scope">
<el-switch v-model="scope.row.status" active-value="1" inactive-value="0"></el-switch>
<el-switch v-model="scope.row.status" :active-value="1" :inactive-value="0"></el-switch>
</template>
</el-table-column>
<el-table-column prop="action" label="操作">

View File

@@ -32,7 +32,7 @@
<el-table-column prop="testCaseName" label="场景名称" />
<el-table-column prop="status" label="Enable/Disable">
<template slot-scope="scope">
<el-switch v-model="scope.row.status" active-value="1" inactive-value="0"></el-switch>
<el-switch v-model="scope.row.status" :active-value="1" :inactive-value="0"></el-switch>
</template>
</el-table-column>
<el-table-column prop="action" label="操作">