mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
fix(List): should watch error prop and check position
This commit is contained in:
@@ -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!;
|
||||
|
Reference in New Issue
Block a user