mirror of
https://github.com/youzan/vant.git
synced 2026-05-07 01:01:01 +08:00
[improvement] List: unify text font-size (#4077)
This commit is contained in:
+7
-2
@@ -13,7 +13,7 @@ const [createComponent, bem] = createNamespace('tabs');
|
||||
export default createComponent({
|
||||
mixins: [
|
||||
ParentMixin('vanTabs'),
|
||||
BindEventMixin(function (bind) {
|
||||
BindEventMixin(function(bind) {
|
||||
bind(window, 'resize', this.setLine, true);
|
||||
})
|
||||
],
|
||||
@@ -148,7 +148,12 @@ export default createComponent({
|
||||
this.$nextTick(() => {
|
||||
const { titles } = this.$refs;
|
||||
|
||||
if (!titles || !titles[this.currentIndex] || this.type !== 'line' || isHidden(this.$el)) {
|
||||
if (
|
||||
!titles ||
|
||||
!titles[this.currentIndex] ||
|
||||
this.type !== 'line' ||
|
||||
isHidden(this.$el)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user