mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] Tab: update active style (#2120)
This commit is contained in:
@@ -375,7 +375,7 @@ export default create({
|
||||
const isCard = this.type === 'card';
|
||||
|
||||
if (color) {
|
||||
if (!item.disabled && isCard !== active) {
|
||||
if (!item.disabled && isCard && !active) {
|
||||
style.color = color;
|
||||
}
|
||||
if (!item.disabled && isCard && active) {
|
||||
|
Reference in New Issue
Block a user