mirror of
https://gitee.com/openharmony/third_party_jsframework
synced 2024-11-23 06:40:59 +00:00
commit
c98c19a6cf
@ -78,6 +78,11 @@ export function mockDisplay() {
|
||||
})
|
||||
}
|
||||
},
|
||||
hasPrivateWindow: function (...args) {
|
||||
console.warn("Display.hasPrivateWindow interface mocked in the Previewer. How this interface works on the Previewer" +
|
||||
" may be different from that on a real device.")
|
||||
return paramMock.paramBooleanMock
|
||||
},
|
||||
on: function (...args) {
|
||||
console.warn("Display.on interface mocked in the Previewer. How this interface works on the Previewer may be" +
|
||||
" different from that on a real device.")
|
||||
|
@ -349,6 +349,10 @@ export const Window = {
|
||||
})
|
||||
}
|
||||
},
|
||||
setSnapshotSkip: function(...args) {
|
||||
console.warn("Window.setSnapshotSkip interface mocked in the Previewer. How this interface works on the" +
|
||||
" Previewer may be different from that on a real device.")
|
||||
},
|
||||
setSystemBarEnable: function(...args) {
|
||||
console.warn("Window.setSystemBarEnable interface mocked in the Previewer. How this interface works on the" +
|
||||
" Previewer may be different from that on a real device.")
|
||||
|
Loading…
Reference in New Issue
Block a user