js & auto copy https://developer.mozilla.org/zh-CN/docs/Web/Events/copy Ctrl + C Command + C document.execCommand("copy"); https://developer.mozilla.org/zh-CN/docs/Web/API/Document/execCommand https://developer.mozilla.org/zh-CN/docs/Mozilla…
function clone(myObj) { if (typeof (myObj) != 'object') return myObj; if (myObj == null) return myObj; var myNewObj = new Object(); for (var i in myObj) myNewObj[i] = clone(myObj[i]); return myNewObj; } var test=clone(model);…