From bf90945e620e1b26f8563fd9e2d6e0fa0d5cb3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwangxiyue=E2=80=9D?= Date: Wed, 10 Aug 2022 16:20:44 +0800 Subject: [PATCH] =?UTF-8?q?modified=20method=20return=20value=20Signed-off?= =?UTF-8?q?-by:=20=E2=80=9Cwangxiyue=E2=80=9D=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extend/systemplugin/napi/ohos_data_distributedDataObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_data_distributedDataObject.js b/runtime/main/extend/systemplugin/napi/ohos_data_distributedDataObject.js index ad34651e..c7eaccea 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_data_distributedDataObject.js +++ b/runtime/main/extend/systemplugin/napi/ohos_data_distributedDataObject.js @@ -71,7 +71,7 @@ export function mockDistributedObject() { genSessionId: function (...args) { console.warn("distributedObject.genSessionId interface mocked in the Previewer." + " How this interface works on the Previewer may be different from that on a real device."); - return 'just test'; + return paramMock.paramStringMock; } }; return distributedDataObject;