瀏覽代碼

修改默认显示宽度

wolyshaw 4 年之前
父節點
當前提交
c075ad46f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/overflow-text/index.vue

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

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