We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e47365 commit dad48ebCopy full SHA for dad48eb
src/components/scroll-nav-bar/scroll-nav-bar.vue
@@ -61,6 +61,7 @@
61
txts: {
62
type: Array,
63
default() {
64
+ this._defaultTxts = true
65
/* istanbul ignore next */
66
return this.labels
67
}
@@ -76,6 +77,11 @@
76
77
78
},
79
watch: {
80
+ labels(newLabels) {
81
+ if (this._defaultTxts) {
82
+ this.txts = newLabels
83
+ }
84
+ },
85
current(newVal) {
86
this.active = newVal
87
0 commit comments