mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
fix(floating-bubble): update offset when the value changed (#12730)
This commit is contained in:
@@ -205,6 +205,7 @@ export default defineComponent({
|
|||||||
watch(
|
watch(
|
||||||
[windowWidth, windowHeight, () => props.gap, () => props.offset],
|
[windowWidth, windowHeight, () => props.gap, () => props.offset],
|
||||||
updateState,
|
updateState,
|
||||||
|
{ deep: true },
|
||||||
);
|
);
|
||||||
|
|
||||||
const show = ref(true);
|
const show = ref(true);
|
||||||
|
Reference in New Issue
Block a user