vue-clipboard3 icon indicating copy to clipboard operation
vue-clipboard3 copied to clipboard

ReferenceError: HTMLElement is not defined

Open w3cBug opened this issue 1 year ago • 0 comments

When using Vue3 to develop a small program, refer to the copy plug-in, the error is as follows: index.js:2 ReferenceError: HTMLElement is not defined at Object.t.node (index.js:2) at listen (index.js:2) at Clipboard.listenClick (index.js:2) at new Clipboard (index.js:2) at index.js:2 at new Promise () at toClipboard (index.js:2) at _callee$ (index.js:2) at tryCatch (vendors.js?t=wechat&s=1677809602001&v=116fc3ec80762a85d267642c0bd38bbf:2) at Generator. (vendors.js?t=wechat&s=1677809602001&v=116fc3ec80762a85d267642c0bd38bbf:2)(env: Windows,mp,1.06.2301160; lib: 2.30.1)

w3cBug avatar Mar 03 '23 02:03 w3cBug