From ea8d866bbb0b7b89bf6e0ed418db94fb96c986b2 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 27 Oct 2023 09:58:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20stylelint=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ComponentColorSelector.vue | 4 ++-- .../canvas/ContextMenuDetails.vue | 2 +- .../data-visualization/canvas/Shape.vue | 2 +- .../visualization/HyperlinksDialog.vue | 2 +- .../components/visualization/LinkJumpSet.vue | 20 ++----------------- .../components/visualization/LinkageSet.vue | 20 ++----------------- .../visualization/StreamMediaLinks.vue | 2 +- .../src/views/workbranch/ShortcutTable.vue | 2 +- 8 files changed, 11 insertions(+), 43 deletions(-) diff --git a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue index f2e6f0ada9..6a13f9f017 100644 --- a/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue +++ b/core/core-frontend/src/components/dashboard/subject-setting/dashboard-style/ComponentColorSelector.vue @@ -311,14 +311,14 @@ span { font-size: 12px; } -.color-type ::v-deep .el-radio__input { +.color-type :deep(.el-radio__input) { display: none; } .ed-radio { margin: 0 2px 0 0 !important; border: 1px solid transparent; } -.el-radio ::v-deep .el-radio__label { +.el-radio :deep(.el-radio__label) { padding-left: 0; } diff --git a/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue b/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue index 401f733c7f..7a7fcb33cb 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ContextMenuDetails.vue @@ -197,7 +197,7 @@ const composeDivider = computed(() => { background-color: #292929; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); box-sizing: border-box; - ::v-deep(.ed-divider) { + :deep(.ed-divider) { margin: 8px 0; } diff --git a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue index bf14b0aa42..b6a1225466 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/Shape.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/Shape.vue @@ -80,7 +80,7 @@ import eventBus from '@/utils/eventBus' import calculateComponentPositionAndSize from '@/utils/calculateComponentPositionAndSize' import { mod360 } from '@/utils/translate' -import { deepCopy, isPreventDrop } from '@/utils/utils' +import { deepCopy } from '@/utils/utils' import { computed, nextTick, onMounted, ref, toRefs, reactive } from 'vue' import { dvMainStoreWithOut } from '@/store/modules/data-visualization/dvMain' import { snapshotStoreWithOut } from '@/store/modules/data-visualization/snapshot' diff --git a/core/core-frontend/src/components/visualization/HyperlinksDialog.vue b/core/core-frontend/src/components/visualization/HyperlinksDialog.vue index ecd916e9fb..47c5a7731f 100644 --- a/core/core-frontend/src/components/visualization/HyperlinksDialog.vue +++ b/core/core-frontend/src/components/visualization/HyperlinksDialog.vue @@ -100,7 +100,7 @@ const onClose = () => { height: 35px; border-radius: 3px; } -::v-deep .el-popover { +:deep(.el-popover) { height: 200px; overflow: auto; } diff --git a/core/core-frontend/src/components/visualization/LinkJumpSet.vue b/core/core-frontend/src/components/visualization/LinkJumpSet.vue index a7c665fa88..d8e1b2c0f4 100644 --- a/core/core-frontend/src/components/visualization/LinkJumpSet.vue +++ b/core/core-frontend/src/components/visualization/LinkJumpSet.vue @@ -715,22 +715,6 @@ defineExpose({