Skip to content

Commit

Permalink
docs: demo date
Browse files Browse the repository at this point in the history
  • Loading branch information
m2a2x committed Jul 24, 2024
1 parent f843dc6 commit e2b3baf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions demo/src/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
import { defineComponent } from 'vue';
export default defineComponent({
props: ['rowIndex', 'model', 'save', 'close'],
mounted() {
this.componentDidRender();
},
methods: {
onBtn(e: MouseEvent) {
const event = new CustomEvent('cell', {
Expand All @@ -17,6 +20,9 @@ export default defineComponent({
(this.close as () => void)();
}
},
componentDidRender() {
console.log('Component has rendered');
},
},
});
</script>
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2b3baf

Please sign in to comment.