From 9530a06da54196e49db85eb3b85b1beb6fa478e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 31 Dec 2025 01:46:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E5=BE=85=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/package.json | 2 - web/pnpm-lock.yaml | 32 ------ web/src/components/common/CommonEditor.vue | 108 +-------------------- web/src/components/common/FileEditor.vue | 108 +-------------------- web/src/main.ts | 3 - web/src/views/task/CreateModal.vue | 3 +- web/src/views/task/CronView.vue | 8 +- 7 files changed, 5 insertions(+), 259 deletions(-) diff --git a/web/package.json b/web/package.json index 990ce676..d7ce6752 100644 --- a/web/package.json +++ b/web/package.json @@ -29,7 +29,6 @@ "@eslint/eslintrc": "^3.3.1", "@fontsource-variable/jetbrains-mono": "^5.2.8", "@vavt/copy2clipboard": "^1.0.3", - "@vue-js-cron/naive-ui": "^2.0.13", "@vueuse/core": "^14.0.0", "@xterm/addon-attach": "^0.12.0", "@xterm/addon-clipboard": "^0.2.0", @@ -40,7 +39,6 @@ "@xterm/xterm": "^6.0.0", "ace-builds": "^1.43.5", "alova": "^3.3.4", - "cronstrue": "^3.3.0", "echarts": "^6.0.0", "install": "^0.13.0", "lodash-es": "^4.17.21", diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index f848a503..e8c155ad 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -20,9 +20,6 @@ importers: '@vavt/copy2clipboard': specifier: ^1.0.3 version: 1.0.3 - '@vue-js-cron/naive-ui': - specifier: ^2.0.13 - version: 2.0.13 '@vueuse/core': specifier: ^14.0.0 version: 14.1.0(vue@3.5.26(typescript@5.9.3)) @@ -53,9 +50,6 @@ importers: alova: specifier: ^3.3.4 version: 3.4.1 - cronstrue: - specifier: ^3.3.0 - version: 3.9.0 echarts: specifier: ^6.0.0 version: 6.0.0 @@ -1223,12 +1217,6 @@ packages: '@volar/typescript@2.4.27': resolution: {integrity: sha512-eWaYCcl/uAPInSK2Lze6IqVWaBu/itVqR5InXcHXFyles4zO++Mglt3oxdgj75BDcv1Knr9Y93nowS8U3wqhxg==} - '@vue-js-cron/core@6.2.0': - resolution: {integrity: sha512-CmRZCoRHMTZdbhoVo78y9nOvRId+TBQZseLHMRRrU++2td3e11aOFiE71IEvbpataMs0/71ItG/h4VKQbv0Xog==} - - '@vue-js-cron/naive-ui@2.0.13': - resolution: {integrity: sha512-hJoEDk8VWm1z4Ns304+z0+7Jli4DBt7lizirmosZ+kWZcTyZ9lVJ3oX2196KiQql+kDKwO33K+886XGl7oOrhg==} - '@vue/babel-helper-vue-transform-on@1.5.0': resolution: {integrity: sha512-0dAYkerNhhHutHZ34JtTl2czVQHUNWv6xEbkdF5W+Yrv5pCWsqjeORdOgbtW2I9gWlt+wBmVn+ttqN9ZxR5tzA==} @@ -1611,10 +1599,6 @@ packages: crelt@1.0.6: resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==} - cronstrue@3.9.0: - resolution: {integrity: sha512-T3S35zmD0Ai2B4ko6+mEM+k9C6tipe2nB9RLiGT6QL2Wn0Vsn2cCZAC8Oeuf4CaE00GZWVdpYitbpWCNlIWqdA==} - hasBin: true - cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -2510,10 +2494,6 @@ packages: muggle-string@0.4.1: resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} - mustache@4.2.0: - resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} - hasBin: true - naive-ui@2.43.2: resolution: {integrity: sha512-YlLMnGrwGTOc+zMj90sG3ubaH5/7czsgLgGcjTLA981IUaz8r6t4WIujNt8r9PNr+dqv6XNEr0vxkARgPPjfBQ==} peerDependencies: @@ -4661,14 +4641,6 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.1.0 - '@vue-js-cron/core@6.2.0': - dependencies: - mustache: 4.2.0 - - '@vue-js-cron/naive-ui@2.0.13': - dependencies: - '@vue-js-cron/core': 6.2.0 - '@vue/babel-helper-vue-transform-on@1.5.0': {} '@vue/babel-plugin-jsx@1.5.0(@babel/core@7.28.5)': @@ -5117,8 +5089,6 @@ snapshots: crelt@1.0.6: {} - cronstrue@3.9.0: {} - cross-spawn@7.0.6: dependencies: path-key: 3.1.1 @@ -6067,8 +6037,6 @@ snapshots: muggle-string@0.4.1: {} - mustache@4.2.0: {} - naive-ui@2.43.2(vue@3.5.26(typescript@5.9.3)): dependencies: '@css-render/plugin-bem': 0.15.14(css-render@0.15.14) diff --git a/web/src/components/common/CommonEditor.vue b/web/src/components/common/CommonEditor.vue index 92db8200..e862a0ab 100644 --- a/web/src/components/common/CommonEditor.vue +++ b/web/src/components/common/CommonEditor.vue @@ -1,113 +1,7 @@