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 {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
noSetup: { type: Boolean, default: false }
|
noSetup: { type: Boolean, default: false },
|
||||||
},
|
},
|
||||||
emits: ['created'],
|
emits: ['created'],
|
||||||
inject: ['rendererComponent'],
|
inject: ['rendererComponent'],
|
||||||
@ -31,7 +31,7 @@ export default {
|
|||||||
if (this.stats) {
|
if (this.stats) {
|
||||||
this.stats.end();
|
this.stats.end();
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
unmounted() {
|
unmounted() {
|
||||||
if (this.stats && this.stats.dom) {
|
if (this.stats && this.stats.dom) {
|
||||||
@ -43,4 +43,4 @@ export default {
|
|||||||
render() {
|
render() {
|
||||||
return this.$slots.default ? this.$slots.default() : [];
|
return this.$slots.default ? this.$slots.default() : [];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user