Fixup some vue warnings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
|
||||
import { useTemplateRef, ref, watch } from 'vue';
|
||||
import { useTemplateRef, ref, watchEffect } from 'vue';
|
||||
import { Button } from '@cloudron/pankow';
|
||||
|
||||
const fileInput = useTemplateRef('fileInput');
|
||||
@@ -12,7 +12,7 @@ const internalSrc = ref('');
|
||||
const isChanged = ref(false);
|
||||
const busy = ref(false);
|
||||
|
||||
watch(() => {
|
||||
watchEffect(() => {
|
||||
internalSrc.value = props.src;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user