dfish-widget 1.0.58 → 1.0.59
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/lib/index.esm.js +14 -10
- package/lib/index.esm.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -5704,11 +5704,13 @@ const props = __props;
|
|
|
5704
5704
|
}
|
|
5705
5705
|
}, {immediate: true});
|
|
5706
5706
|
watch(() => props.current, watchCurrent);
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5707
|
+
if (!props.children || props.children.length == 0) {
|
|
5708
|
+
const src = props.src && props.src();
|
|
5709
|
+
if (src) {
|
|
5710
|
+
xLoading.value = true;
|
|
5711
|
+
await src().catch(() => {});
|
|
5712
|
+
xLoading.value = false;
|
|
5713
|
+
}
|
|
5712
5714
|
}
|
|
5713
5715
|
});
|
|
5714
5716
|
|
|
@@ -6715,11 +6717,13 @@ const props = __props;
|
|
|
6715
6717
|
}
|
|
6716
6718
|
}, {immediate: true});
|
|
6717
6719
|
watch(() => props.current, watchCurrent);
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6720
|
+
if (!props.children || props.children.length == 0) {
|
|
6721
|
+
const src = props.src && props.src();
|
|
6722
|
+
if (src) {
|
|
6723
|
+
xLoading.value = true;
|
|
6724
|
+
await src();
|
|
6725
|
+
xLoading.value = false;
|
|
6726
|
+
}
|
|
6723
6727
|
}
|
|
6724
6728
|
});
|
|
6725
6729
|
|