Commit fbd76b5e7fd2f8f040dc79661cd9307b5fb93cde
1 parent
4565a4bd
pref:更换:deep 移除控制台报警告 ::v-deep已经被弃用,请更换:deep
Showing
4 changed files
with
5 additions
and
5 deletions
... | ... | @@ -662,11 +662,11 @@ |
662 | 662 | <style lang="less" scoped> |
663 | 663 | //TODO-fengtao |
664 | 664 | ///移除选择框默认样式(24px)否则超出默认宽度会造成页面样式错乱 |
665 | - ::v-deep(.ant-select-selector) { | |
665 | + :deep(.ant-select-selector) { | |
666 | 666 | padding-right: 0px !important; |
667 | 667 | } |
668 | 668 | |
669 | - ::v-deep(.ant-select-selection-overflow) { | |
669 | + :deep(.ant-select-selection-overflow) { | |
670 | 670 | max-width: 10vw !important; |
671 | 671 | } |
672 | 672 | //TODO-fengtao | ... | ... |