Commit fbd76b5e7fd2f8f040dc79661cd9307b5fb93cde

Authored by fengtao
1 parent 4565a4bd

pref:更换:deep 移除控制台报警告 ::v-deep已经被弃用,请更换:deep

@@ -146,7 +146,7 @@ @@ -146,7 +146,7 @@
146 -webkit-transition: opacity 0.4s; 146 -webkit-transition: opacity 0.4s;
147 transition: opacity 0.4s; 147 transition: opacity 0.4s;
148 148
149 - ::v-deep(svg) { 149 + :deep(svg) {
150 margin: auto; 150 margin: auto;
151 } 151 }
152 } 152 }
@@ -144,7 +144,7 @@ @@ -144,7 +144,7 @@
144 display: none; 144 display: none;
145 } 145 }
146 146
147 - ::v-deep(.ant-pagination-disabled) { 147 + :deep(.ant-pagination-disabled) {
148 display: inline-block !important; 148 display: inline-block !important;
149 } 149 }
150 150
@@ -662,11 +662,11 @@ @@ -662,11 +662,11 @@
662 <style lang="less" scoped> 662 <style lang="less" scoped>
663 //TODO-fengtao 663 //TODO-fengtao
664 ///移除选择框默认样式(24px)否则超出默认宽度会造成页面样式错乱 664 ///移除选择框默认样式(24px)否则超出默认宽度会造成页面样式错乱
665 - ::v-deep(.ant-select-selector) { 665 + :deep(.ant-select-selector) {
666 padding-right: 0px !important; 666 padding-right: 0px !important;
667 } 667 }
668 668
669 - ::v-deep(.ant-select-selection-overflow) { 669 + :deep(.ant-select-selection-overflow) {
670 max-width: 10vw !important; 670 max-width: 10vw !important;
671 } 671 }
672 //TODO-fengtao 672 //TODO-fengtao
@@ -312,7 +312,7 @@ @@ -312,7 +312,7 @@
312 312
313 <style lang="less" scoped> 313 <style lang="less" scoped>
314 ///移除选择框默认样式(24px)否则超出默认宽度会造成页面样式错乱 314 ///移除选择框默认样式(24px)否则超出默认宽度会造成页面样式错乱
315 - ::v-deep(.ant-select-selector) { 315 + :deep(.ant-select-selector) {
316 padding-right: 0px !important; 316 padding-right: 0px !important;
317 } 317 }
318 </style> 318 </style>