sprintify-ui 0.6.69 → 0.6.70
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 +822 -822
- package/package.json +1 -1
- package/src/components/BaseHasMany.vue +9 -1
package/package.json
CHANGED
|
@@ -147,7 +147,15 @@ watch(
|
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
// Do not fetch if the modelValue is the same as the local models
|
|
151
|
+
|
|
152
|
+
const ids = props.modelValue.map((id: number | string) => id.toString());
|
|
153
|
+
|
|
154
|
+
const localModelIds = models.value.map((m) => m[props.primaryKey]);
|
|
155
|
+
|
|
156
|
+
if (isEqual(ids, localModelIds)) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
151
159
|
|
|
152
160
|
http
|
|
153
161
|
.get(props.showRouteUrl(ids))
|