45
chenyincheng
2023-02-04 f2d679a5cc548beccd5f6dcab7875080a9b96e2d
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('体重秤更新')
    }
     /**