mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +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(() => {
|
onUpdated(() => {
|
||||||
loading.value = props.loading!;
|
loading.value = props.loading!;
|
||||||
|
Reference in New Issue
Block a user