修改发布问题

This commit is contained in:
guanj
2026-07-13 10:22:03 +08:00
parent 40899e6d55
commit fcf702ca3c
9 changed files with 151 additions and 57 deletions

View File

@@ -89,12 +89,18 @@
<Cn-device-card :device="item" :key="index">
<template v-slot:title>
<!-- 卡片标题 -->
<switch
<view
v-if="transfer || share"
:checked="checkList.indexOf(item.equipmentId) > -1"
style="transform: scale(0.8); position: relative; left: 20rpx"
@change="switchChange(item)"
/>
class="switch-wrap"
@click.stop
@tap.stop
>
<switch
:checked="checkList.indexOf(item.equipmentId) > -1"
style="transform: scale(0.8); position: relative; left: 20rpx"
@change.stop="switchChange(item)"
/>
</view>
<view class="star-icon" v-else>
<uni-icons type="search" size="25" color="#376cf3"></uni-icons>
</view>
@@ -248,7 +254,10 @@ export default {
this.select.projectName = ''
this.getProjectList()
}
setTimeout(() => {
this.store && this.store.reload()
}, 500);
},
methods: {
bindClick(e, item) {
@@ -316,6 +325,7 @@ export default {
console.warn('init')
this.getEngineeringList()
this.getProjectList()
this.getDeviceList()
},
getDeviceList() {