Skip to content

Commit 519f6d7

Browse files
committed
fix(style): 修复/deep/废弃问题
1 parent 4b90a17 commit 519f6d7

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/components/common/pageList.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,24 @@ defineExpose({
9494
.page-list-box {
9595
margin-top: 10px;
9696
}
97-
/deep/.ivu-scroll-container {
97+
:deep(.ivu-scroll-container) {
9898
div.ivu-scroll-loader:first-child {
9999
height: 0;
100100
}
101101
}
102-
/deep/.ivu-divider-horizontal.ivu-divider-with-text-center {
103-
margin-bottom: 0;
102+
:deep(.ivu-divider-horizontal) {
103+
&.ivu-divider-with-text-center {
104+
margin-bottom: 0;
105+
}
104106
}
105-
/deep/.ivu-tooltip-rel {
107+
:deep(.ivu-tooltip-rel) {
106108
display: block;
107109
position: relative;
108110
width: 100%;
109111
height: 100%;
110112
}
111113
112-
/deep/.ivu-tooltip {
114+
:deep(.ivu-tooltip) {
113115
display: block;
114116
height: 100%;
115117
width: 100%;

src/components/imgStroke.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ import useSelect from '@/hooks/select';
6464
import { Slider } from 'view-ui-plus';
6565
import { fabric } from 'fabric';
6666
import { Utils } from '@kuaitu/core';
67-
import { values } from 'lodash-es';
6867
6968
interface IExtendImage {
7069
[x: string]: any;

src/views/template/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const toInfo = (info) => {
213213
padding: 20px;
214214
border: 2px solid #fff;
215215
216-
/deep/.ivu-tag-select {
216+
:deep(.ivu-tag-select) {
217217
line-height: 32px;
218218
max-height: none;
219219
margin-left: 0;

0 commit comments

Comments
 (0)