修复modal标题属性首次如果没有值,再赋值的话就会没用
This commit is contained in:
parent
ab249f7059
commit
f024ab823a
2 changed files with 11 additions and 3 deletions
|
@ -261,6 +261,11 @@
|
|||
} else {
|
||||
this.removeScrollEffect();
|
||||
}
|
||||
},
|
||||
title (val) {
|
||||
if (this.$slots.header === undefined) {
|
||||
this.showHead = val?true:false;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue