fix(List): should emit load event when parent tab is activated (#9022)
This commit is contained in:
@@ -139,6 +139,14 @@ export default defineComponent({
|
||||
check
|
||||
);
|
||||
|
||||
if (tabStatus) {
|
||||
watch(tabStatus, (tabActive) => {
|
||||
if (tabActive) {
|
||||
check();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
onUpdated(() => {
|
||||
loading.value = props.loading!;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user