1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00
This commit is contained in:
Kevin Levron 2021-04-06 18:43:06 +02:00
parent bc8386d033
commit 7e0c4d5737

View File

@ -2,7 +2,7 @@ import Stats from 'stats.js';
export default {
props: {
noSetup: { type: Boolean, default: false }
noSetup: { type: Boolean, default: false },
},
emits: ['created'],
inject: ['rendererComponent'],
@ -31,7 +31,7 @@ export default {
if (this.stats) {
this.stats.end();
}
}
},
},
unmounted() {
if (this.stats && this.stats.dom) {