Skip to content

Commit 4521af6

Browse files
committed
feat(MdButton): fix to prop not being passed to router-link
1 parent 186fc37 commit 4521af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/mdButton/mdButton.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@
209209
} else if (this.to) {
210210
tag = 'router-link'
211211
buttonAttrs.attrs = {
212-
to: this.to,
213-
...this.$options.propsData
212+
...this.$options.propsData,
213+
to: this.to
214214
}
215215
}
216216

0 commit comments

Comments
 (0)