mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-18 20:44:48 -04:00
modified method return value
Signed-off-by: “wangxiyue” <wangxiyue8@huawei.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user