mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-09-08 00:39:46 +08:00
fix(List): should watch error prop and check position
This commit is contained in:
parent
4fb58297d6
commit
b79c32183f
@ -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!;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user