代码优化
This commit is contained in:
parent
e41bc3419a
commit
5bd0f38ff2
|
|
@ -209,9 +209,9 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="IOT设备" align="center" prop="ownHouseName">
|
||||
<template slot-scope="{ row }">
|
||||
<el-button type="text" @click="handleBindIOT(row)"
|
||||
>未绑定</el-button
|
||||
>
|
||||
<el-button type="text" @click="handleBindIOT(row)">{{
|
||||
row.iotNum === 0 ? '未绑定' : row.iotNum
|
||||
}}</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
|
@ -223,6 +223,7 @@
|
|||
<i
|
||||
class="el-icon-location location-icon"
|
||||
@click="handleMap(row)"
|
||||
v-if="row.iotNum > 0"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
|
|||
|
|
@ -209,9 +209,9 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="IOT设备" align="center" prop="ownHouseName">
|
||||
<template slot-scope="{ row }">
|
||||
<el-button type="text" @click="handleBindIOT(row)"
|
||||
>未绑定</el-button
|
||||
>
|
||||
<el-button type="text" @click="handleBindIOT(row)">{{
|
||||
row.iotNum === 0 ? '未绑定' : row.iotNum
|
||||
}}</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
|
|
|||
Loading…
Reference in New Issue