Parcourir la source

修改默认显示宽度

wolyshaw il y a 4 ans
Parent
commit
c075ad46f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/components/overflow-text/index.vue

+ 1 - 1
src/components/overflow-text/index.vue

@@ -23,7 +23,7 @@ export default {
     },
     width: {
       type: String,
-      default: '200px'
+      default: 'auto'
     },
     split: {
       type: Boolean,