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;