Browse Source

修改默认显示宽度

wolyshaw 4 years ago
parent
commit
c075ad46f8
1 changed files with 1 additions and 1 deletions
  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,