mirror of
https://github.com/troisjs/trois.git
synced 2024-11-23 20:02:32 +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) {
|
||||
@ -43,4 +43,4 @@ export default {
|
||||
render() {
|
||||
return this.$slots.default ? this.$slots.default() : [];
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user