sprintify-ui 0.1.4 → 0.1.5
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/dist/sprintify-ui.es.js
CHANGED
|
@@ -5006,15 +5006,13 @@ const Wu = /* @__PURE__ */ Ee({
|
|
|
5006
5006
|
), at(
|
|
5007
5007
|
() => n.modelValue,
|
|
5008
5008
|
(u, c) => {
|
|
5009
|
-
if (n.
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
return;
|
|
5013
|
-
}
|
|
5014
|
-
u != c && i.get(n.showRouteUrl(n.modelValue)).then((d) => {
|
|
5015
|
-
l.value = d.data.data;
|
|
5016
|
-
}).catch((d) => d);
|
|
5009
|
+
if (!n.modelValue) {
|
|
5010
|
+
l.value = null;
|
|
5011
|
+
return;
|
|
5017
5012
|
}
|
|
5013
|
+
u != c && n.showRouteUrl != null && i.get(n.showRouteUrl(n.modelValue)).then((d) => {
|
|
5014
|
+
l.value = d.data.data;
|
|
5015
|
+
}).catch((d) => d);
|
|
5018
5016
|
},
|
|
5019
5017
|
{ immediate: !0 }
|
|
5020
5018
|
);
|
package/package.json
CHANGED
|
@@ -141,10 +141,6 @@ watch(
|
|
|
141
141
|
watch(
|
|
142
142
|
() => props.modelValue,
|
|
143
143
|
(newValue, oldValue) => {
|
|
144
|
-
if (props.showRouteUrl == null) {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
144
|
if (!props.modelValue) {
|
|
149
145
|
model.value = null;
|
|
150
146
|
return;
|
|
@@ -154,6 +150,10 @@ watch(
|
|
|
154
150
|
return;
|
|
155
151
|
}
|
|
156
152
|
|
|
153
|
+
if (props.showRouteUrl == null) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
157
|
http
|
|
158
158
|
.get(props.showRouteUrl(props.modelValue))
|
|
159
159
|
.then((response: AxiosResponse) => {
|