代码优化

This commit is contained in:
BianLzhaoMin 2024-08-09 16:00:01 +08:00
parent fdcbd84906
commit 718730d64d
1 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@
<el-tag size="mini" v-if="row.iotStatus == 0" type="success"
>在线</el-tag
>
<el-tag size="mini" v-else type="danger">线</el-tag>
<el-tag size="mini" v-else type="danger">线</el-tag>
</template>
</el-table-column>
<!-- <el-table-column prop="prCode" label="二维码" align="center">
@ -98,6 +98,7 @@
size="small"
@click="handleEdit(row)"
icon="el-icon-edit-outline"
v-if="row.bindStatus == 1"
>修改</el-button
>
<el-button
@ -195,7 +196,7 @@
<el-switch
v-model="IOTForm.iotStatus"
active-text="在线"
inactive-text="线"
inactive-text="线"
:active-value="0"
:inactive-value="1"
/>