@airpower/web 1.8.8 → 1.9.0
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/main.js +17 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -17560,7 +17560,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17560
17560
|
return [];
|
|
17561
17561
|
});
|
|
17562
17562
|
const selectListRef = computed(() => {
|
|
17563
|
-
|
|
17563
|
+
if (props.selectList.length > 0) {
|
|
17564
|
+
return props.selectList;
|
|
17565
|
+
}
|
|
17566
|
+
if (hook && hook.selectList.value.length > 0) {
|
|
17567
|
+
return hook.selectList.value;
|
|
17568
|
+
}
|
|
17569
|
+
return [];
|
|
17564
17570
|
});
|
|
17565
17571
|
const isLoadingRef = computed(() => {
|
|
17566
17572
|
return hook ? hook.isLoading.value : props.loading;
|
|
@@ -17739,17 +17745,26 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17739
17745
|
const bodyWrap = table?.querySelector(".el-scrollbar__wrap");
|
|
17740
17746
|
bodyWrap.scrollTop = 0;
|
|
17741
17747
|
});
|
|
17748
|
+
},
|
|
17749
|
+
{
|
|
17750
|
+
deep: true,
|
|
17751
|
+
immediate: true
|
|
17742
17752
|
}
|
|
17743
17753
|
);
|
|
17744
17754
|
watch(
|
|
17745
|
-
() => selectListRef,
|
|
17755
|
+
() => selectListRef.value,
|
|
17746
17756
|
() => {
|
|
17757
|
+
console.warn("selectListRef.value", selectListRef.value);
|
|
17747
17758
|
nextTick(() => {
|
|
17748
17759
|
if (airTableRef.value) {
|
|
17749
17760
|
airTableRef.value.clearSelection();
|
|
17750
17761
|
}
|
|
17751
17762
|
toggleSelection();
|
|
17752
17763
|
});
|
|
17764
|
+
},
|
|
17765
|
+
{
|
|
17766
|
+
deep: true,
|
|
17767
|
+
immediate: true
|
|
17753
17768
|
}
|
|
17754
17769
|
);
|
|
17755
17770
|
function getApiUrl(url) {
|