mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
cs
This commit is contained in:
parent
bc8386d033
commit
7e0c4d5737
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user