fix(List): incorrect initial loading value (#11275)

This commit is contained in:
neverland 2022-11-19 18:51:56 +08:00 committed by GitHub
parent eb0f535dac
commit 3c6795ec51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ export default defineComponent({
setup(props, { emit, slots }) {
// use sync innerLoading state to avoid repeated loading in some edge cases
const loading = ref(false);
const loading = ref(props.loading);
const root = ref<HTMLElement>();
const placeholder = ref<HTMLElement>();
const tabStatus = useTabStatus();