[improvement] IndexBar: add default highlight color and more less vars
This commit is contained in:
@@ -26,6 +26,7 @@ export default sfc({
|
||||
if (this.sticky) {
|
||||
return {
|
||||
top: `${this.top}px`,
|
||||
color: this.parent.highlightColor,
|
||||
zIndex: `${this.parent.zIndex}`
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user