mirror of
https://gitee.com/openharmony/third_party_jsframework
synced 2024-11-23 06:40:59 +00:00
Signed-off-by: LVB8189 <lvbai1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
529cd42db5
commit
5c5eae0e3e
@ -124,7 +124,6 @@ export function mockPasteBoard() {
|
||||
plainText: '[PC preview] unknow plainText',
|
||||
uri: '[PC preview] unknow uri',
|
||||
pixelMap: PixelMapMock,
|
||||
data: '[PC preview] unknow data',
|
||||
convertToText: function (...args) {
|
||||
console.warn("PasteDataRecord.convertToText interface mocked in the Previewer. How this interface works on the" +
|
||||
" Previewer may be different from that on a real device.")
|
||||
@ -141,7 +140,6 @@ export function mockPasteBoard() {
|
||||
const shareOptionMock = {
|
||||
InApp: "[PC Preview] unknown InApp",
|
||||
LocalDevice: "[PC Preview] unknown LocalDevice",
|
||||
CrossDevice: "[PC Preview] unknown CrossDevice"
|
||||
}
|
||||
const PasteDataPropertyMock = {
|
||||
additions: '[PC preview] unknow additions',
|
||||
@ -248,11 +246,6 @@ export function mockPasteBoard() {
|
||||
" the Previewer may be different from that on a real device.")
|
||||
return PasteDataMock;
|
||||
},
|
||||
createData: function (...args) {
|
||||
console.warn("pasteboard.createData interface mocked in the Previewer. How this interface works on" +
|
||||
" the Previewer may be different from that on a real device.")
|
||||
return PasteDataMock;
|
||||
},
|
||||
createWantData: function (...args) {
|
||||
console.warn("pasteboard.createWantData interface mocked in the Previewer. How this interface works on" +
|
||||
" the Previewer may be different from that on a real device.")
|
||||
@ -278,11 +271,6 @@ export function mockPasteBoard() {
|
||||
" the Previewer may be different from that on a real device.")
|
||||
return PasteDataRecordMock;
|
||||
},
|
||||
createRecord: function (...args) {
|
||||
console.warn("pasteboard.createRecord interface mocked in the Previewer. How this interface works on" +
|
||||
" the Previewer may be different from that on a real device.")
|
||||
return PasteDataRecordMock;
|
||||
},
|
||||
createPlainTextRecord: function (...args) {
|
||||
console.warn("pasteboard.createPlainTextRecord 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