modified method return value

Signed-off-by: “wangxiyue” <wangxiyue8@huawei.com>
This commit is contained in:
“wangxiyue”
2022-08-10 16:20:44 +08:00
parent f58db01080
commit bf90945e62
@@ -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;