diff --git a/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js b/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js index 645e81c8..abc91dff 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js +++ b/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js @@ -124,7 +124,7 @@ export function mockPasteBoard() { plainText: '[PC preview] unknow plainText', uri: '[PC preview] unknow uri', pixelMap: PixelMapMock, - data: {"mimeType": new ArrayBuffer()}, + data: {'mock_xml': new ArrayBuffer()}, 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.")