mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
327807807d
commit
90f23e2fb9
|
@ -1,6 +1,6 @@
|
|||
<script vapor>
|
||||
import { ref } from 'vue'
|
||||
import VdomComp from './components/VdomComp.vue';
|
||||
import VdomComp from './components/VdomComp.vue'
|
||||
|
||||
window.calls = []
|
||||
window.getCalls = () => {
|
||||
|
|
|
@ -3,18 +3,18 @@ import { onActivated, onDeactivated, onMounted, onUnmounted, ref } from 'vue'
|
|||
const msg = ref('vdom')
|
||||
|
||||
onMounted(() => {
|
||||
window.calls.push('mounted')
|
||||
window.calls.push('mounted')
|
||||
})
|
||||
onActivated(() => {
|
||||
window.calls.push('activated')
|
||||
window.calls.push('activated')
|
||||
})
|
||||
onDeactivated(() => {
|
||||
window.calls.push('deactivated')
|
||||
window.calls.push('deactivated')
|
||||
})
|
||||
onUnmounted(() => {
|
||||
window.calls.push('unmounted')
|
||||
window.calls.push('unmounted')
|
||||
})
|
||||
</script>
|
||||
<template>
|
||||
<input type="text" v-model="msg" />
|
||||
</template>
|
||||
<input type="text" v-model="msg" />
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue