mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-18 12:35:31 -04:00
!505 amend interface description
Merge pull request !505 from wangxiyue/cherry-pick-1658368382
This commit is contained in:
@@ -62,7 +62,7 @@ export function mockDistributedObject() {
|
||||
const RevokeSaveSuccessResponse = {
|
||||
sessionId: "[[PC Preview] unknow sessionId]"
|
||||
};
|
||||
const distributedObjectMock = {
|
||||
const distributedDataObject = {
|
||||
createDistributedObject: function (...args) {
|
||||
console.warn("distributedObject.createDistributedObject interface mocked in the Previewer." +
|
||||
" How this interface works on the Previewer may be different from that on a real device.");
|
||||
@@ -74,5 +74,5 @@ export function mockDistributedObject() {
|
||||
return 'just test';
|
||||
}
|
||||
};
|
||||
return distributedObjectMock;
|
||||
}
|
||||
return distributedDataObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user