diff --git a/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js b/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js index 391d9df1..bda091b4 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js +++ b/runtime/main/extend/systemplugin/napi/ohos_pasteboard.js @@ -45,9 +45,6 @@ export function mockPasteBoard() { getMimeTypes: function () { console.warn("PasteData.getMimeTypes interface mocked in the Previewer. How this interface works on the" + " Previewer may be different from that on a real device."); - let mimeTypes = new Array(); - mimeTypes.push('[PC preview] unknow MIMETYPE_TEXT_HTML'); - mimeTypes.push('[PC preview] unknow MIMETYPE_TEXT_PLAIN'); return new Array(paramMock.paramStringMock); }, getPrimaryHtml: function () {