chenyincheng
2022-12-28 995f645c1f9d7c9bdc7462806c2506820397cf65
src/stores/sockteInfo.ts
@@ -48,14 +48,14 @@
    }
    /**
     * 更新体重秤结果
     * @param info 体重结果
     * @param infoObj 体重结果
     */
    function setweightSockte(info:weightInfo){
        console.log(info,'入参')
        weightSockte.value.deviceName=info.deviceName
        weightSockte.value.result=info.result
        weightSockte.value.resultTime=info.resultTime
        weightSockte.value.state=info.state
    function setweightSockte(infoObj:info){
        console.log(infoObj,'入参')
        weightSockte.value.deviceName=infoObj.deviceName
        weightSockte.value.result=infoObj.result
        weightSockte.value.resultTime=infoObj.resultTime
        weightSockte.value.state=infoObj.state
        console.log('体重秤更新')
    }
     /**