From 1421f83026526ae4301bd5f0d31388dce9863828 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Fri, 9 Sep 2022 20:58:39 +0800 Subject: [PATCH] docs: update cloud object param demo --- docs/uniCloud/rundebug.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/uniCloud/rundebug.md b/docs/uniCloud/rundebug.md index 69f0b9d0a..5a8f9b3c1 100644 --- a/docs/uniCloud/rundebug.md +++ b/docs/uniCloud/rundebug.md @@ -304,8 +304,8 @@ const clientInfo = { // 模拟clientInfo uniPlatform: 'web', source: 'client', // 调用来源,不传时默认为 client clientIP: '127.0.0.1', // 客户端ip,不传时默认为 127.0.0.1 - userAgent: 'xx MicroMessenger/xxx' // 客户端ua,不传时默认为 HBuilderX - uniIdToken: 'xxx', + userAgent: 'xx MicroMessenger/xxx', // 客户端ua,不传时默认为 HBuilderX + uniIdToken: 'xxx' } login('name-demo', 'password-demo') // 调用login方法传入参数'name-demo'和'password-demo' ``` -- GitLab