diff --git a/src/components/selection/StandardSelection.vue b/src/components/selection/StandardSelection.vue index 899a99d..c6e1370 100644 --- a/src/components/selection/StandardSelection.vue +++ b/src/components/selection/StandardSelection.vue @@ -11,8 +11,9 @@ - - {{ $t('standardSelect.standardSelection') }} + + S + {{ $t('standardSelect.standardSelection') }} = 0 && offsetWidth <= 300) { + this.isSmall = true + } + }, + data () { + return { + EN: 'en-us', + isSmall: false + } + }, methods: { // 点击选择标准按钮 standardClick () { @@ -134,4 +147,15 @@ export default { .close-icon:hover { color: rgba(0, 0, 0, 0.45); } + +//.small-btn { +// max-width: 60px; +// span { +// display: inline-block; +// width: 40px; +// overflow-x: hidden; +// text-overflow: ellipsis; +// white-space: nowrap; +// } +//}