Skip to content

Commit adbccef

Browse files
移除class默认背景颜色
1 parent f877165 commit adbccef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/TbSkeleton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
aspectRatio: {type: [String, Number], default: 1}, //长宽比
1515
width: {type: [String, Number], default: '100%', require: false}, //百分比
1616
height: {type: [String, Number], require: false},
17-
bgColor: {type: [String]},
17+
bgColor: {type: [String], default: '#dcdcdc'},
1818
duration: {type: [Number,String]} //动画时长
1919
},
2020
data() {

src/styles/skeleton.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $prefix: '.c-skeleton__tb';
44
//background: #99a9bf;
55
width: 0;
66
height: 0;
7-
background: #dcdcdc;
7+
//background: #dcdcdc;
88
&--radius {
99
border-radius: 4px;
1010
}

0 commit comments

Comments
 (0)