Skip to content

Commit

Permalink
去掉iview依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
elfc2000 committed Feb 3, 2020
1 parent 8cad40d commit 8ab54e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"axios": "^0.19.0",
"echarts": "^4.6.0",
"hls.js": "^0.13.1",
"moment": "^2.24.0",
"view-design": "^4.0.2",
"moment": "^2.24.0",
"vue": "^2.5.2",
"vue-router": "^3.0.1"
},
Expand Down
9 changes: 4 additions & 5 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
import Vue from 'vue'
import App from './App'
import router from './router'
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
//import ViewUI from 'view-design';
//import 'view-design/dist/styles/iview.css';

Vue.config.productionTip = false
Vue.use(ViewUI);
Vue.config.productionTip = false;

/* eslint-disable no-new */
// XE.ready()用来加载Cesium.js等相关资源
Expand Down Expand Up @@ -59,4 +58,4 @@ XE.ready().then(() => {
}
}
})
});
});

0 comments on commit 8ab54e6

Please sign in to comment.