tongshangming 2 месяцев назад
Родитель
Сommit
9c93993213
3 измененных файлов с 6 добавлено и 94 удалено
  1. 1 2
      package.json
  2. 4 91
      pnpm-lock.yaml
  3. 1 1
      src/components/core/GlobalTabs.vue

+ 1 - 2
package.json

@@ -16,10 +16,9 @@
   "dependencies": {
     "@amap/amap-jsapi-loader": "^1.0.1",
     "@element-plus/icons-vue": "^2.3.1",
-    "@fskj-admin/core": "^1.4.3",
+    "@fskj-admin/core": "^1.4.7",
     "@fskj-admin/micro": "^0.1.0",
     "@icon-park/vue-next": "^1.4.2",
-    "@sentry/vue": "^8.26.0",
     "@vueuse/core": "^10.11.1",
     "@vxe-ui/plugin-render-element": "^4.0.5",
     "@wangeditor/editor": "^5.1.23",

+ 4 - 91
pnpm-lock.yaml

@@ -12,17 +12,14 @@ dependencies:
     specifier: ^2.3.1
     version: 2.3.1(vue@3.4.38)
   '@fskj-admin/core':
-    specifier: ^1.4.3
-    version: 1.4.3
+    specifier: ^1.4.7
+    version: 1.4.7
   '@fskj-admin/micro':
     specifier: ^0.1.0
     version: 0.1.0
   '@icon-park/vue-next':
     specifier: ^1.4.2
     version: 1.4.2(vue@3.4.38)
-  '@sentry/vue':
-    specifier: ^8.26.0
-    version: 8.26.0(vue@3.4.38)
   '@vueuse/core':
     specifier: ^10.11.1
     version: 10.11.1(vue@3.4.38)
@@ -1070,8 +1067,8 @@ packages:
     resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==}
     dev: false
 
-  /@fskj-admin/core@1.4.3:
-    resolution: {integrity: sha512-JPNmK4jRyHhA3t9g8l0tp5Pvyp1GwezXYFSdYM4hslQzkrnRVSVb9mmefgRHAPs/pqCFO2xN9PHziTTUUc1qxw==}
+  /@fskj-admin/core@1.4.7:
+    resolution: {integrity: sha512-2AqJxBaKOUYCE23+SHzl+uZXA0dStsl/p34Lnezdn/APZg8OacDNAk2Qslb3TprQtXvOMrMxQb1hDqUIcShKPQ==}
     dev: false
 
   /@fskj-admin/micro@0.1.0:
@@ -1361,62 +1358,11 @@ packages:
     resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==}
     dev: true
 
-  /@sentry-internal/browser-utils@8.26.0:
-    resolution: {integrity: sha512-O2Tj+WK33/ZVp5STnz6ZL0OO+/Idk2KqsH0ITQkQmyZ2z0kdzWOeqK7s7q3/My6rB1GfPcyqPcBBv4dVv92FYQ==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
-  /@sentry-internal/feedback@8.26.0:
-    resolution: {integrity: sha512-hQtw1gg8n6ERK1UH47F7ZI1zOsbhu0J2VX+TrnkpaQR2FgxDW1oe9Ja6oCV4CQKuR4w+1ZI/Kj4imSt0K33kEw==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
-  /@sentry-internal/replay-canvas@8.26.0:
-    resolution: {integrity: sha512-2CFQW6f9aJHIo/DqmqYa9PaYoLn1o36ywc0h8oyGrD4oPCbrnE5F++PmTdc71GBODu41HBn/yoCTLmxOD+UjpA==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry-internal/replay': 8.26.0
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
-  /@sentry-internal/replay@8.26.0:
-    resolution: {integrity: sha512-JDY7W2bswlp5c3483lKP4kcb75fHNwGNfwD8x8FsY9xMjv7nxeXjLpR5cCEk1XqPq2+n6w4j7mJOXhEXGiUIKg==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry-internal/browser-utils': 8.26.0
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
   /@sentry/babel-plugin-component-annotate@2.22.2:
     resolution: {integrity: sha512-6kFAHGcs0npIC4HTt4ULs8uOfEucvMI7VW4hoyk17jhRaW8CbxzxfWCfIeRbDkE8pYwnARaq83tu025Hrk2zgA==}
     engines: {node: '>= 14'}
     dev: true
 
-  /@sentry/browser@8.26.0:
-    resolution: {integrity: sha512-e5s6eKlwLZWzTwQcBwqyAGZMMuQROW9Z677VzwkSyREWAIkKjfH2VBxHATnNGc0IVkNHjD7iH3ixo3C0rLKM3w==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry-internal/browser-utils': 8.26.0
-      '@sentry-internal/feedback': 8.26.0
-      '@sentry-internal/replay': 8.26.0
-      '@sentry-internal/replay-canvas': 8.26.0
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
   /@sentry/bundler-plugin-core@2.22.2:
     resolution: {integrity: sha512-TwEEW4FeEJ5Mamp4fGnktfVjzN77KAW0xFQsEPuxZtOAPG17zX/PGvdyRX/TE1jkZWhTzqUDIdgzqlNLjyEnUw==}
     engines: {node: '>= 14'}
@@ -1520,26 +1466,6 @@ packages:
       - supports-color
     dev: true
 
-  /@sentry/core@8.26.0:
-    resolution: {integrity: sha512-g/tVmTZD4GNbLFf++hKJfBpcCAtduFEMLnbfa9iT/QEZjlmP+EzY+GsH9bafM5VsNe8DiOUp+kJKWtShzlVdBA==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-    dev: false
-
-  /@sentry/types@8.26.0:
-    resolution: {integrity: sha512-zKmh6SWsJh630rpt7a9vP4Cm4m1C2gDTUqUiH565CajCL/4cePpNWYrNwalSqsOSL7B9OrczA1+n6a6XvND+ng==}
-    engines: {node: '>=14.18'}
-    dev: false
-
-  /@sentry/utils@8.26.0:
-    resolution: {integrity: sha512-xvlPU9Hd2BlyT+FhWHGNwnxWqdVRk2AHnDtVcW4Ma0Ri5EwS+uy4Jeik5UkSv8C5RVb9VlxFmS8LN3I1MPJsLw==}
-    engines: {node: '>=14.18'}
-    dependencies:
-      '@sentry/types': 8.26.0
-    dev: false
-
   /@sentry/vite-plugin@2.22.2:
     resolution: {integrity: sha512-LJSNTw75UJq77v2jCan8cRh0w1u6W30jxQsbqF7YyyhhfjPTyFUXYday9RDDe84qDEnspbZmgeTSWTvaTGsBRg==}
     engines: {node: '>= 14'}
@@ -1551,19 +1477,6 @@ packages:
       - supports-color
     dev: true
 
-  /@sentry/vue@8.26.0(vue@3.4.38):
-    resolution: {integrity: sha512-KLFHgINX4OWKPMZ/aHOojT8QjPLwoMPt99gbgtsGrRx9vjHOp1JLTGXCVl3VMs8Vl3Uo5jNKq0hE1Lqufy1luw==}
-    engines: {node: '>=14.18'}
-    peerDependencies:
-      vue: 2.x || 3.x
-    dependencies:
-      '@sentry/browser': 8.26.0
-      '@sentry/core': 8.26.0
-      '@sentry/types': 8.26.0
-      '@sentry/utils': 8.26.0
-      vue: 3.4.38(typescript@5.3.3)
-    dev: false
-
   /@sxzz/popperjs-es@2.11.7:
     resolution: {integrity: sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==}
     dev: false

+ 1 - 1
src/components/core/GlobalTabs.vue

@@ -112,7 +112,7 @@ const findContextMenuItemIndex = (fullPath: string) => tabs.value.findIndex(item
 const openContextMenu = (e: any) => {
   const id = e.target?.offsetParent?.id || e.target?.id
   if (id) {
-    const fullPath = id.split('-')[1]
+    const fullPath = id.split('tab-')[1]
     contextMenuIndex.value = findContextMenuItemIndex(fullPath)
     left.value = e.clientX + 1
     top.value = e.clientY + 1