diff --git a/components/api-set-tabbar/api-set-tabbar.vue b/components/api-set-tabbar/api-set-tabbar.vue index 4dbe407900182891ac3f6c5e6383497d473c6029..4db6e79404b26c2497d7e7c0893c69243b3a2aff 100644 --- a/components/api-set-tabbar/api-set-tabbar.vue +++ b/components/api-set-tabbar/api-set-tabbar.vue @@ -112,14 +112,16 @@ color: '#7A7E83', selectedColor: '#007AFF', backgroundColor: '#F8F8F8', - borderStyle: 'black' + borderStyle: 'black', + // 新增 borderColor,优先级高于 borderStyle + borderColor:'red' }) } else { uni.setTabBarStyle({ color: '#FFF', selectedColor: '#007AFF', backgroundColor: '#000000', - borderStyle: 'black' + borderStyle: 'black', }) } this.hasCustomedStyle = !this.hasCustomedStyle