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 ffd5926438
commit df38e38a4b

View File

@ -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;