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,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> |