Hwf 3 місяців тому
батько
коміт
9d2b8c7c48
3 змінених файлів з 3 додано та 35 видалено
  1. 3 3
      index.html
  2. 0 31
      package-lock.json
  3. 0 1
      package.json

+ 3 - 3
index.html

@@ -210,9 +210,9 @@
         <div class="load_title">正在加载系统资源,请耐心等待</div>
         <div class="load_title">正在加载系统资源,请耐心等待</div>
       </div>
       </div>
     </div>
     </div>
+    <script>
+      this.globalThis || (this.globalThis = this)
+    </script>
     <script type="module" src="/src/main.ts"></script>
     <script type="module" src="/src/main.ts"></script>
   </body>
   </body>
-  <script>
-    this.globalThis || (this.globalThis = this)
-  </script>
 </html>
 </html>

+ 0 - 31
package-lock.json

@@ -70,7 +70,6 @@
         "xlsx": "^0.18.5"
         "xlsx": "^0.18.5"
       },
       },
       "devDependencies": {
       "devDependencies": {
-        "@babel/plugin-proposal-optional-chaining": "^7.21.0",
         "@iconify/json": "2.2.201",
         "@iconify/json": "2.2.201",
         "@intlify/unplugin-vue-i18n": "3.0.1",
         "@intlify/unplugin-vue-i18n": "3.0.1",
         "@types/crypto-js": "4.2.2",
         "@types/crypto-js": "4.2.2",
@@ -613,24 +612,6 @@
         "@babel/core": "^7.0.0"
         "@babel/core": "^7.0.0"
       }
       }
     },
     },
-    "node_modules/@babel/plugin-proposal-optional-chaining": {
-      "version": "7.21.0",
-      "resolved": "https://registry.npmmirror.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz",
-      "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==",
-      "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.",
-      "dev": true,
-      "dependencies": {
-        "@babel/helper-plugin-utils": "^7.20.2",
-        "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0",
-        "@babel/plugin-syntax-optional-chaining": "^7.8.3"
-      },
-      "engines": {
-        "node": ">=6.9.0"
-      },
-      "peerDependencies": {
-        "@babel/core": "^7.0.0-0"
-      }
-    },
     "node_modules/@babel/plugin-proposal-private-property-in-object": {
     "node_modules/@babel/plugin-proposal-private-property-in-object": {
       "version": "7.21.0-placeholder-for-preset-env.2",
       "version": "7.21.0-placeholder-for-preset-env.2",
       "resolved": "https://registry.npmmirror.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
       "resolved": "https://registry.npmmirror.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
@@ -688,18 +669,6 @@
         "@babel/core": "^7.0.0-0"
         "@babel/core": "^7.0.0-0"
       }
       }
     },
     },
-    "node_modules/@babel/plugin-syntax-optional-chaining": {
-      "version": "7.8.3",
-      "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
-      "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
-      "dev": true,
-      "dependencies": {
-        "@babel/helper-plugin-utils": "^7.8.0"
-      },
-      "peerDependencies": {
-        "@babel/core": "^7.0.0-0"
-      }
-    },
     "node_modules/@babel/plugin-syntax-typescript": {
     "node_modules/@babel/plugin-syntax-typescript": {
       "version": "7.24.7",
       "version": "7.24.7",
       "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz",
       "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz",

+ 0 - 1
package.json

@@ -79,7 +79,6 @@
     "xlsx": "^0.18.5"
     "xlsx": "^0.18.5"
   },
   },
   "devDependencies": {
   "devDependencies": {
-    "@babel/plugin-proposal-optional-chaining": "^7.21.0",
     "@iconify/json": "2.2.201",
     "@iconify/json": "2.2.201",
     "@intlify/unplugin-vue-i18n": "3.0.1",
     "@intlify/unplugin-vue-i18n": "3.0.1",
     "@types/crypto-js": "4.2.2",
     "@types/crypto-js": "4.2.2",