修改js挂载
This commit is contained in:
parent
b326cbf73f
commit
2aa7bfd759
@ -2,17 +2,17 @@ import Vue from 'vue';
|
||||
//main
|
||||
// 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 {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';
|
||||
|
||||
//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';
|
||||
import { Helper } from '@/jlmap3d/component/Helper';
|
||||
|
||||
//data
|
||||
import { Jl3ddata } from '@/jlmap3d/jl3ddata';
|
||||
@ -25,7 +25,7 @@ import { SetScene } from '@/jlmap3d/config/Scene';
|
||||
//加载器
|
||||
import { ModelLoad } from '@/jlmap3d/model/ModelLoad';
|
||||
//connect
|
||||
import {Jlmap3dSubscribe} from '@/jlmap3d/connect/TrainingConnect';
|
||||
import { Jlmap3dSubscribe } from '@/jlmap3d/connect/TrainingConnect';
|
||||
//import {Jlmap3dSubscribe} from '@/jlmap3d/connect/TrainingConnectTest';
|
||||
import { getPublishMapVersion, getPublishMapDetail,getPublish3dMapDetail} from '@/api/jlmap3d/load3ddata';
|
||||
|
||||
@ -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