标签:vue turn com update 组件 OLE str 生命周期 script
<template>
<div>
<children></children>
</div>
</template>
<script>
import children from "./Children"
export default {
name: ‘‘,
components: { children },
data () {
return {
}
},
beforeCreate() {
console.log("父组件beforeCreate")
},
created() {
console.log("父组件created")
},
beforeMount() {
console.log("父组件beforeMount")
},
mounted() {
console.log("父组件mounted")
},
beforeUpdate() {
console.log("父组件beforeUpdate")
},
updated() {
console.log("父组件updated")
},
beforeDestroy() {
console.log("父组件beforeDestroy")
},
destroyed() {
console.log("父组件destroyed")
},
methods: {}
}
</script>
标签:vue turn com update 组件 OLE str 生命周期 script
原文地址:https://www.cnblogs.com/qq978520982/p/12200414.html