修改js挂载
This commit is contained in:
parent
b326cbf73f
commit
2aa7bfd759
@ -3,14 +3,14 @@ import Vue from 'vue';
|
||||
// import {Three} from '@/jlmap3d/main/three.min.js';
|
||||
//模型loader
|
||||
import {AssetLoader} from '@/jlmap3d/main/loaders/AssetLoader.js';
|
||||
import {DDSLoader} from '@/jlmap3d/main/loaders/DDSLoader.js';
|
||||
import {OBJLoader} from '@/jlmap3d/main/loaders/OBJLoader.js';
|
||||
import {MTLLoader} from '@/jlmap3d/main/loaders/MTLLoader.js';
|
||||
import { FBXLoader } from '@/jlmap3d/main/loaders/FBXLoader.js';
|
||||
import DDSLoader from '@/jlmap3d/main/loaders/DDSLoader.js';
|
||||
import OBJLoader from '@/jlmap3d/main/loaders/OBJLoader.js';
|
||||
import MTLLoader from '@/jlmap3d/main/loaders/MTLLoader.js';
|
||||
import FBXLoader from '@/jlmap3d/main/loaders/FBXLoader.js';
|
||||
|
||||
//controls
|
||||
import {OrbitControls} from '@/jlmap3d/control/OrbitControls.js';
|
||||
import { DragControls } from '@/jlmap3d/edit/control/DragControls.js';
|
||||
import OrbitControls from '@/jlmap3d/control/OrbitControls.js';
|
||||
import DragControls from '@/jlmap3d/edit/control/DragControls.js';
|
||||
//component
|
||||
import { Helper } from '@/jlmap3d/component/Helper';
|
||||
|
||||
@ -34,7 +34,7 @@ import { UpdateTrain } from '@/jlmap3d/utils/UpdateTrain';
|
||||
//import { UpdateTrain } from '@/jlmap3d/utils/UpdateTrainTest';
|
||||
// import { ReStart } from '@/jlmap3d/utils/ReStart';
|
||||
|
||||
import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
||||
//import {Stats} from '@/jlmap3d/main/lib/stats.min.js';
|
||||
|
||||
var clock = new THREE.Clock();
|
||||
|
||||
|
@ -18,9 +18,7 @@ import '@/icons'; // icon
|
||||
import '@/permission'; // permission control
|
||||
import '@/scripts/GlobalPlugin';
|
||||
import '@/directives';
|
||||
// window.THREE = require('@/jlmap3d/main/three.min.js');
|
||||
// window.zlib = require('@/jlmap3d/main/inflate.min.js');
|
||||
// console.log(zlib);
|
||||
|
||||
Vue.use(ElementUI);
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
Loading…
Reference in New Issue
Block a user