From 9f25d7b2236700a6451c4ad09aae3477b80961f2 Mon Sep 17 00:00:00 2001 From: mac Date: Wed, 24 Apr 2024 09:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=BD=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=95=B0=E6=8D=AE=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?cdn=E5=BC=95=E5=85=A5Vue=EF=BC=8CElement-ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 153 +- package.json | 2 - public/index.html | 5 +- src/assets/index.js | 1 - src/assets/json/china.json | 43747 +-------- src/assets/json/city.ts | 46147 +-------- src/assets/json/word.json | 141626 +--------------------------- src/components/distribution.vue | 972 - src/lang/index.js | 13 +- src/main.js | 5 - src/router/index.js | 1 - src/store/index.js | 1 - src/views/Apikey.vue | 1055 - src/views/HomeIndex.vue | 1239 - src/views/center.vue | 639 - src/views/dashboard.vue | 1030 - src/views/distribution.vue | 302 - src/views/distributionstatus.vue | 606 - src/views/storagenetwork.vue | 469 - vue.config.js | 7 + 20 files changed, 31 insertions(+), 237989 deletions(-) delete mode 100644 src/components/distribution.vue delete mode 100644 src/views/Apikey.vue delete mode 100644 src/views/center.vue delete mode 100644 src/views/dashboard.vue delete mode 100644 src/views/distribution.vue delete mode 100644 src/views/distributionstatus.vue delete mode 100644 src/views/storagenetwork.vue diff --git a/package-lock.json b/package-lock.json index e8d52dd..a81008d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "core-js": "^3.8.3", "dayjs": "^1.11.8", "echarts": "^5.4.2", - "element-ui": "^2.15.13", "ethereumjs-util": "^7.1.5", "ipfs-car": "^1.0.0", "ipfs-unixfs-importer": "^15.1.5", @@ -32,7 +31,6 @@ "moment": "^2.29.4", "node-polyfill-webpack-plugin": "^2.0.1", "svg-sprite-loader": "^6.0.11", - "vue": "^2.6.14", "vue-clipboard2": "^0.3.3", "vue-i18n": "^8.28.2", "vue-router": "^3.5.1", @@ -4181,6 +4179,7 @@ "version": "2.7.14", "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz", "integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==", + "peer": true, "dependencies": { "@babel/parser": "^7.18.4", "postcss": "^8.4.14", @@ -5127,14 +5126,6 @@ "integrity": "sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA==", "license": "0BSD" }, - "node_modules/async-validator": { - "version": "1.8.5", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz", - "integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==", - "dependencies": { - "babel-runtime": "6.x" - } - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", @@ -5234,12 +5225,6 @@ "proxy-from-env": "^1.1.0" } }, - "node_modules/babel-helper-vue-jsx-merge-props": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz", - "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==", - "license": "MIT" - }, "node_modules/babel-loader": { "version": "8.3.0", "resolved": "https://registry.npmmirror.com/babel-loader/-/babel-loader-8.3.0.tgz", @@ -5324,29 +5309,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmmirror.com/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==", - "license": "MIT", - "dependencies": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "node_modules/babel-runtime/node_modules/core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmmirror.com/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "hasInstallScript": true, - "license": "MIT" - }, - "node_modules/babel-runtime/node_modules/regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", - "license": "MIT" - }, "node_modules/backoff": { "version": "2.5.0", "resolved": "https://registry.npmmirror.com/backoff/-/backoff-2.5.0.tgz", @@ -7369,7 +7331,8 @@ "version": "3.1.2", "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.2.tgz", "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/d": { "version": "1.0.1", @@ -7567,6 +7530,7 @@ "version": "1.5.2", "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-1.5.2.tgz", "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -8083,23 +8047,6 @@ "resolved": "https://registry.npmjs.org/element-resize-event/-/element-resize-event-3.0.6.tgz", "integrity": "sha512-sSeXY9rNDp86bJODW68pxLcy3A5FrPZfIgOrJHzqgYzX513Zq6/ytdBigp7KeJEpZZopBBSiO1cVuiRkZpNxLw==" }, - "node_modules/element-ui": { - "version": "2.15.13", - "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.13.tgz", - "integrity": "sha512-LJoatEYX6WV74FqXBss8Xfho9fh9rjDSzrDrTyREdGb1h1R3uRvmLh5jqp2JU137aj4/BgqA3K06RQpQBX33Bg==", - "license": "MIT", - "dependencies": { - "async-validator": "~1.8.1", - "babel-helper-vue-jsx-merge-props": "^2.0.0", - "deepmerge": "^1.2.0", - "normalize-wheel": "^1.0.1", - "resize-observer-polyfill": "^1.5.0", - "throttle-debounce": "^1.0.1" - }, - "peerDependencies": { - "vue": "^2.5.17" - } - }, "node_modules/elliptic": { "version": "6.5.4", "resolved": "https://registry.npmmirror.com/elliptic/-/elliptic-6.5.4.tgz", @@ -13301,12 +13248,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/normalize-wheel": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz", - "integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==", - "license": "BSD-3-Clause" - }, "node_modules/npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -15827,12 +15768,6 @@ "dev": true, "license": "MIT" }, - "node_modules/resize-observer-polyfill": { - "version": "1.5.1", - "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", - "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==", - "license": "MIT" - }, "node_modules/resolve": { "version": "1.22.2", "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.2.tgz", @@ -17835,15 +17770,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/throttle-debounce": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz", - "integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/thunky": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/thunky/-/thunky-1.1.0.tgz", @@ -18511,6 +18437,7 @@ "resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.14.tgz", "integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==", "license": "MIT", + "peer": true, "dependencies": { "@vue/compiler-sfc": "2.7.14", "csstype": "^3.1.0" @@ -23032,6 +22959,7 @@ "version": "2.7.14", "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz", "integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==", + "peer": true, "requires": { "@babel/parser": "^7.18.4", "postcss": "^8.4.14", @@ -23796,14 +23724,6 @@ } } }, - "async-validator": { - "version": "1.8.5", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-1.8.5.tgz", - "integrity": "sha512-tXBM+1m056MAX0E8TL2iCjg8WvSyXu0Zc8LNtYqrVeyoL3+esHRZ4SieE9fKQyyU09uONjnMEjrNBMqT0mbvmA==", - "requires": { - "babel-runtime": "6.x" - } - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz", @@ -23859,11 +23779,6 @@ "proxy-from-env": "^1.1.0" } }, - "babel-helper-vue-jsx-merge-props": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz", - "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==" - }, "babel-loader": { "version": "8.3.0", "resolved": "https://registry.npmmirror.com/babel-loader/-/babel-loader-8.3.0.tgz", @@ -23925,27 +23840,6 @@ "@babel/helper-define-polyfill-provider": "^0.3.3" } }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmmirror.com/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==", - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - }, - "dependencies": { - "core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmmirror.com/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==" - }, - "regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" - } - } - }, "backoff": { "version": "2.5.0", "resolved": "https://registry.npmmirror.com/backoff/-/backoff-2.5.0.tgz", @@ -25400,7 +25294,8 @@ "csstype": { "version": "3.1.2", "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" + "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==", + "peer": true }, "d": { "version": "1.0.1", @@ -25550,7 +25445,8 @@ "deepmerge": { "version": "1.5.2", "resolved": "https://registry.npmmirror.com/deepmerge/-/deepmerge-1.5.2.tgz", - "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==" + "integrity": "sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==", + "dev": true }, "default-gateway": { "version": "6.0.3", @@ -25920,19 +25816,6 @@ "resolved": "https://registry.npmjs.org/element-resize-event/-/element-resize-event-3.0.6.tgz", "integrity": "sha512-sSeXY9rNDp86bJODW68pxLcy3A5FrPZfIgOrJHzqgYzX513Zq6/ytdBigp7KeJEpZZopBBSiO1cVuiRkZpNxLw==" }, - "element-ui": { - "version": "2.15.13", - "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.15.13.tgz", - "integrity": "sha512-LJoatEYX6WV74FqXBss8Xfho9fh9rjDSzrDrTyREdGb1h1R3uRvmLh5jqp2JU137aj4/BgqA3K06RQpQBX33Bg==", - "requires": { - "async-validator": "~1.8.1", - "babel-helper-vue-jsx-merge-props": "^2.0.0", - "deepmerge": "^1.2.0", - "normalize-wheel": "^1.0.1", - "resize-observer-polyfill": "^1.5.0", - "throttle-debounce": "^1.0.1" - } - }, "elliptic": { "version": "6.5.4", "resolved": "https://registry.npmmirror.com/elliptic/-/elliptic-6.5.4.tgz", @@ -29843,11 +29726,6 @@ "resolved": "https://registry.npmmirror.com/normalize-url/-/normalize-url-6.1.0.tgz", "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" }, - "normalize-wheel": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/normalize-wheel/-/normalize-wheel-1.0.1.tgz", - "integrity": "sha512-1OnlAPZ3zgrk8B91HyRj+eVv+kS5u+Z0SCsak6Xil/kmgEia50ga7zfkumayonZrImffAxPU/5WcyGhzetHNPA==" - }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -31598,11 +31476,6 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", "dev": true }, - "resize-observer-polyfill": { - "version": "1.5.1", - "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", - "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" - }, "resolve": { "version": "1.22.2", "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.2.tgz", @@ -33080,11 +32953,6 @@ } } }, - "throttle-debounce": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/throttle-debounce/-/throttle-debounce-1.1.0.tgz", - "integrity": "sha512-XH8UiPCQcWNuk2LYePibW/4qL97+ZQ1AN3FNXwZRBNPPowo/NRU5fAlDCSNBJIYCKbioZfuYtMhG4quqoJhVzg==" - }, "thunky": { "version": "1.1.0", "resolved": "https://registry.npmmirror.com/thunky/-/thunky-1.1.0.tgz", @@ -33576,6 +33444,7 @@ "version": "2.7.14", "resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.14.tgz", "integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==", + "peer": true, "requires": { "@vue/compiler-sfc": "2.7.14", "csstype": "^3.1.0" diff --git a/package.json b/package.json index ba82888..0f45147 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "core-js": "^3.8.3", "dayjs": "^1.11.8", "echarts": "^5.4.2", - "element-ui": "^2.15.13", "ethereumjs-util": "^7.1.5", "ipfs-car": "^1.0.0", "ipfs-unixfs-importer": "^15.1.5", @@ -32,7 +31,6 @@ "moment": "^2.29.4", "node-polyfill-webpack-plugin": "^2.0.1", "svg-sprite-loader": "^6.0.11", - "vue": "^2.6.14", "vue-clipboard2": "^0.3.3", "vue-i18n": "^8.28.2", "vue-router": "^3.5.1", diff --git a/public/index.html b/public/index.html index 20c8780..7323403 100644 --- a/public/index.html +++ b/public/index.html @@ -8,7 +8,8 @@ - + + BUZZ Netdisk diff --git a/src/lang/index.js b/src/lang/index.js index d237492..47f043e 100644 --- a/src/lang/index.js +++ b/src/lang/index.js @@ -1,20 +1,19 @@ -import Vue from 'vue' import VueI18n from 'vue-i18n' import zh from './zh' import en from './en' // import store from '@/store' -import enLocale from 'element-ui/lib/locale/lang/en' -import zhLocale from 'element-ui/lib/locale/lang/zh-CN' -import ElementLocale from 'element-ui/lib/locale'; +// import enLocale from 'element-ui/lib/locale/lang/en' +// import zhLocale from 'element-ui/lib/locale/lang/zh-CN' +// import ElementLocale from 'element-ui/lib/locale'; Vue.use(VueI18n) const messages = { zh: { ...zh, - ...zhLocale + // ...zhLocale }, en: { ...en, - ...enLocale + // ...enLocale } } let lang = ''; @@ -28,6 +27,6 @@ const i18n = new VueI18n({ locale: lang, silentFallbackWarn: true, // 抑制警告 }) -ElementLocale.i18n((key, value) => i18n.t(key, value)) +// ElementLocale.i18n((key, value) => i18n.t(key, value)) export default i18n diff --git a/src/main.js b/src/main.js index 2ee1cda..7594aa0 100644 --- a/src/main.js +++ b/src/main.js @@ -1,9 +1,6 @@ -import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' -import ElementUI from 'element-ui'; -import 'element-ui/lib/theme-chalk/index.css'; import i18n from './lang'; import http from "@/api/axios"; import VueClipBoard from 'vue-clipboard2' @@ -16,12 +13,10 @@ import moment from 'moment'; import myModal from '@/components/myModal.vue'; Vue.component('my-modal', myModal); Vue.prototype.$moment = moment; -// import "@/assets/index" Vue.prototype.$md5 = md5; Vue.use(VueClipBoard) Vue.config.productionTip = false; Vue.prototype.$http = http; -Vue.use(ElementUI); Vue.prototype.ellipsisByLength = function (str, length = 4, flag = true) { return str.length > 2 * length && flag ? `${str.slice(0, length)}...${str.slice(-length)}` diff --git a/src/router/index.js b/src/router/index.js index 92fd30b..fc7b674 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,4 +1,3 @@ -import Vue from 'vue' import VueRouter from 'vue-router' import HomeView from '../views/HomeView.vue' import layout from '@/components/layout.vue'; diff --git a/src/store/index.js b/src/store/index.js index 48fb0cc..ebc37eb 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,4 +1,3 @@ -import Vue from 'vue' import Vuex from 'vuex' import createPersistedstate from 'vuex-persistedstate' Vue.use(Vuex); diff --git a/src/views/Apikey.vue b/src/views/Apikey.vue deleted file mode 100644 index 44d8343..0000000 --- a/src/views/Apikey.vue +++ /dev/null @@ -1,1055 +0,0 @@ - - - - - - diff --git a/src/views/HomeIndex.vue b/src/views/HomeIndex.vue index f8877cb..071f509 100644 --- a/src/views/HomeIndex.vue +++ b/src/views/HomeIndex.vue @@ -32,447 +32,13 @@ -
- - -
diff --git a/src/views/center.vue b/src/views/center.vue deleted file mode 100644 index 1136592..0000000 --- a/src/views/center.vue +++ /dev/null @@ -1,639 +0,0 @@ - - - - diff --git a/src/views/dashboard.vue b/src/views/dashboard.vue deleted file mode 100644 index b307553..0000000 --- a/src/views/dashboard.vue +++ /dev/null @@ -1,1030 +0,0 @@ - - - - - diff --git a/src/views/distribution.vue b/src/views/distribution.vue deleted file mode 100644 index d4661f7..0000000 --- a/src/views/distribution.vue +++ /dev/null @@ -1,302 +0,0 @@ - - - - - diff --git a/src/views/distributionstatus.vue b/src/views/distributionstatus.vue deleted file mode 100644 index 48d954b..0000000 --- a/src/views/distributionstatus.vue +++ /dev/null @@ -1,606 +0,0 @@ - - - - - diff --git a/src/views/storagenetwork.vue b/src/views/storagenetwork.vue deleted file mode 100644 index 185e910..0000000 --- a/src/views/storagenetwork.vue +++ /dev/null @@ -1,469 +0,0 @@ - - - - - diff --git a/vue.config.js b/vue.config.js index f5672ab..26cc9d6 100644 --- a/vue.config.js +++ b/vue.config.js @@ -15,6 +15,13 @@ module.exports = defineConfig({ experiments: { syncWebAssembly: true // !! <- use syncWebAssembly instead of asyncWebAssembly }, + externals:{ + 'vue':'Vue', + 'element-ui':'ELEMENT' + }, + optimization:{ + minimize:true + }, plugins: [ new NodePolyfillPlugin(), new webpack.ProvidePlugin({ Buffer: ["buffer", "Buffer"] })