loadGLTFModel(url) {

			// Instantiate a loader
			if (!this.loaderGLTF) {
				//this.loaderGLTF = new GLTFLoader().setPath('/static/models/gltf/');

        if (url.indexOf('.glb') != -1) {
          this.loaderGLTF = new GLTFLoader().setPath('/static/models/gltf/');
        } else if (url.indexOf('.fbx') != -1) {
          console.log('******************fbx')
          this.loaderGLTF = new FBXLoader().setPath('/static/models/fbx/');
        }

			}
			this.progress = 0;
			this.isLoading = true;
			this.loaderGLTF.load(
				url, // 模型 URL 可以是本地静态资源，也可以是网上的 url
				gltf => {
					this.isLoading = false;
					// 加载完成后回调
					//console.log(gltf);


          let theObject = gltf.scene;
          theObject = gltf.scene;
					theObject.name = 'theObject';

      //  遍历每个材质，设置其纹理贴图相关的属性
          theObject.traverse(obj => {

            if (obj.type === 'Mesh') {
              console.log(obj.material)
              const mat = obj.material;
              if (mat.map) {
                mat.map.encoding = THREE.sRGBEncoding;
                mat.map.anisotropy = 16;
                mat.map.wrapS = THREE.RepeatWrapping;
                mat.map.wrapT = THREE.RepeatWrapping;
                mat.map.minFilter = THREE.LinearFilter;
                mat.map.magFilter = THREE.LinearFilter;
                // 如果有法线贴图，则将其转换为THREE.TangentSpaceNormalMap类型
                if (mat.normalMap) {
                  mat.normalMap.encoding = THREE.sRGBEncoding;
                  mat.normalMap.type = THREE.TangentSpaceNormalMap;
                }
              }
            }
          });

          this.removeFromScene(this.theObject);
          this.theObject = theObject;
          this.scene.add(this.theObject);
          console.log("场景材质：",this.scene.children[0]);
          console.log("场景材质：",this.scene.children[0].material);
					//调整大小，设置居中
					this.setCenter(this.theObject);
				},
				// 加载进度回调
				xhr => {
					//console.log(Math.round((xhr.loaded / xhr.total) * 100) + '% loaded');
					this.progress = Math.round((xhr.loaded / xhr.total) * 100);
				},
				// 加载错误回调
				error => {
					console.error('An error happened：' + error);
					this.isLoading = false;
				}
			);
		},帮我看看为什么不显示模型贴图