@@ -15,7 +15,6 @@
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@floating-ui/dom": "^1.0.4",
- "@ungap/structured-clone": "^1.3.0",
"axios": "^0.27.2",
"clipboard": "^2.0.11",
"consola": "^3.1.0",
@@ -4,8 +4,7 @@
*
* */
// import config from '../config'
-// structuredClone
-import structuredClone from '@ungap/structured-clone';
+
console.log("支持-structuredClone", "structuredClone" in globalThis);
const initState = {