|
@@ -23,7 +23,7 @@ export default {
|
|
|
mounted() {
|
|
|
console.warn("***loadmodel-mounted****")
|
|
|
this.dracoLoader = new DRACOLoader();
|
|
|
- this.dracoLoader.setDecoderPath('/gltf/');
|
|
|
+ this.dracoLoader.setDecoderPath('./gltf/');
|
|
|
this.dracoLoader.setDecoderConfig( { type: 'js' } );
|
|
|
this.dracoLoader.preload();
|
|
|
},
|