-
This commit is contained in:
parent
b8adf5cf2d
commit
718e773fbc
5 changed files with 33 additions and 39 deletions
16
examples/components/tableExpand.vue
Executable file
16
examples/components/tableExpand.vue
Executable file
|
@ -0,0 +1,16 @@
|
|||
<template>
|
||||
<div>{{ name }}</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
name: String
|
||||
},
|
||||
created () {
|
||||
console.log(this.name + ': 被创建');
|
||||
},
|
||||
destroyed () {
|
||||
console.log(this.name + ': 被销毁');
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue