[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2025-04-15 03:42:40 +00:00 committed by GitHub
parent 327807807d
commit 90f23e2fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<script vapor> <script vapor>
import { ref } from 'vue' import { ref } from 'vue'
import VdomComp from './components/VdomComp.vue'; import VdomComp from './components/VdomComp.vue'
window.calls = [] window.calls = []
window.getCalls = () => { window.getCalls = () => {

View File

@ -3,18 +3,18 @@ import { onActivated, onDeactivated, onMounted, onUnmounted, ref } from 'vue'
const msg = ref('vdom') const msg = ref('vdom')
onMounted(() => { onMounted(() => {
window.calls.push('mounted') window.calls.push('mounted')
}) })
onActivated(() => { onActivated(() => {
window.calls.push('activated') window.calls.push('activated')
}) })
onDeactivated(() => { onDeactivated(() => {
window.calls.push('deactivated') window.calls.push('deactivated')
}) })
onUnmounted(() => { onUnmounted(() => {
window.calls.push('unmounted') window.calls.push('unmounted')
}) })
</script> </script>
<template> <template>
<input type="text" v-model="msg" /> <input type="text" v-model="msg" />
</template> </template>