From b79c32183f6159a663dad42f6189a939061f9f32 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 2 Jan 2021 20:47:56 +0800 Subject: [PATCH] fix(List): should watch error prop and check position --- src/list/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/list/index.tsx b/src/list/index.tsx index 350c45074..242889f03 100644 --- a/src/list/index.tsx +++ b/src/list/index.tsx @@ -115,7 +115,10 @@ export default createComponent({ } }; - watch([() => props.loading, () => props.finished], check); + watch( + [() => props.loading, () => props.finished, () => props.error], + check + ); onUpdated(() => { loading.value = props.loading!;