复制 Markdown查看 MarkdownupdateBpgDataRemark(remark: Object)版本要求:@ray-js/ray≥1.5.40Promise该方法支持 Promise 调用,不传 success / fail / complete 回调时返回 Promiseimport { health } from '@ray-js/ray'; const { updateBpgDataRemark } = health; // Promise 调用 try { const res = await updateBpgDataRemark({ ...params }); console.log(res); } catch (err) { console.log(err.errorMsg); }描述更新血压数据备注参数属性类型必填说明remarkstring是备注uuidstring是血压数据 ID返回值类型:Promise<boolean>示例代码基础用法import { health } from '@ray-js/ray' health.updateBpgDataRemark({ uuid: 'bpg123', remark: '饭后测量', }).then((success) => { console.log('更新结果:', success); }).catch((error) => { console.error(error); });上一页reportSingleBpgData下一页deleteBpgData