@veritree/ui 0.16.6 → 0.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- :href="href" -->
|
|
2
3
|
<component
|
|
3
4
|
:is="tag"
|
|
4
5
|
:to="to"
|
|
5
|
-
:href="href"
|
|
6
6
|
:type="type"
|
|
7
7
|
:disabled="isDisabled"
|
|
8
8
|
:class="[
|
|
@@ -72,10 +72,6 @@ export default {
|
|
|
72
72
|
type: [String, Object],
|
|
73
73
|
default: null,
|
|
74
74
|
},
|
|
75
|
-
href: {
|
|
76
|
-
type: [String],
|
|
77
|
-
default: null,
|
|
78
|
-
},
|
|
79
75
|
headless: {
|
|
80
76
|
type: Boolean,
|
|
81
77
|
default: false,
|
|
@@ -120,7 +116,7 @@ export default {
|
|
|
120
116
|
},
|
|
121
117
|
|
|
122
118
|
tag() {
|
|
123
|
-
return this.
|
|
119
|
+
return this.$attrs.href ? 'a' : this.to ? 'NuxtLink' : 'button';
|
|
124
120
|
},
|
|
125
121
|
|
|
126
122
|
type() {
|