mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
2604aeb973
commit
2134b87d0d
|
@ -4,12 +4,12 @@ import VaporComp from './VaporComp.vue'
|
|||
import SimpleVaporComp from './components/SimpleVaporComp.vue'
|
||||
|
||||
const msg = ref('hello')
|
||||
const passSlot = ref(true);
|
||||
const passSlot = ref(true)
|
||||
|
||||
(window as any).calls = [];
|
||||
(window as any).getCalls = () => {
|
||||
const ret = (window as any).calls.slice();
|
||||
(window as any).calls = []
|
||||
;(window as any).calls = []
|
||||
;(window as any).getCalls = () => {
|
||||
const ret = (window as any).calls.slice()
|
||||
;(window as any).calls = []
|
||||
return ret
|
||||
}
|
||||
|
||||
|
|
|
@ -3,18 +3,18 @@ import { onActivated, onDeactivated, onMounted, onUnmounted, ref } from 'vue'
|
|||
const msg = ref('vapor')
|
||||
|
||||
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" />
|
||||
<input type="text" v-model="msg" />
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue