|
@@ -5,7 +5,11 @@
|
|
|
* */
|
|
|
// import config from '../config'
|
|
|
|
|
|
-console.log("支持-structuredClone", "structuredClone" in globalThis);
|
|
|
+//console.log("支持-structuredClone", "structuredClone" in globalThis);
|
|
|
+
|
|
|
+const structuredClone = (obj) => {
|
|
|
+ return JSON.parse(JSON.stringify(obj));
|
|
|
+}
|
|
|
|
|
|
const initState = {
|
|
|
id: "",
|