diff --git a/web/docs/guides/with-vue-3.mdx b/web/docs/guides/with-vue-3.mdx index 3d2b3f50e66..04e5cccd7c1 100644 --- a/web/docs/guides/with-vue-3.mdx +++ b/web/docs/guides/with-vue-3.mdx @@ -553,7 +553,7 @@ export default { } watch(path, () => { - path.value ? downloadImage() : "" + if (path.value) downloadImage() }) return {