Commit a9363183 by xue_wengang

moment 依赖

parent 962e12fd
...@@ -16,13 +16,16 @@ ...@@ -16,13 +16,16 @@
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"js-cookie": "^2.2.1", "js-cookie": "^2.2.1",
"moment": "^2.29.1",
"qs": "^6.9.4", "qs": "^6.9.4",
"relation-graph": "^1.1.0", "relation-graph": "^1.1.0",
"sass-loader": "^7.0.0",
"sass-resources-loader": "^2.1.1", "sass-resources-loader": "^2.1.1",
"script-loader": "^0.7.2", "script-loader": "^0.7.2",
"style-loader": "^2.0.0", "style-loader": "^2.0.0",
"video.js": "^7.11.4", "video.js": "^7.11.4",
"vue": "^2.6.11", "vue": "^2.6.11",
"vue-audio": "0.0.12",
"vue-photo-preview": "^1.1.3", "vue-photo-preview": "^1.1.3",
"vue-router": "^3.2.0", "vue-router": "^3.2.0",
"vue-wechat-title": "^2.0.7", "vue-wechat-title": "^2.0.7",
...@@ -41,12 +44,11 @@ ...@@ -41,12 +44,11 @@
"axios": "^0.18.0", "axios": "^0.18.0",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"compression-webpack-plugin": "^6.0.4", "compression-webpack-plugin": "^6.0.4",
"eslint": "^6.7.2", "eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-vue": "^6.2.2", "eslint-plugin-vue": "^6.2.2",
"node-sass": "^4.12.0", "node-sass": "^4.12.0",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.2",
"vue-cli-plugin-axios": "^0.0.4", "vue-cli-plugin-axios": "^0.0.4",
"vue-cli-plugin-element": "^1.0.1", "vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.11" "vue-template-compiler": "^2.6.11"
......
...@@ -9,12 +9,14 @@ import VueWechatTitle from "vue-wechat-title"; ...@@ -9,12 +9,14 @@ import VueWechatTitle from "vue-wechat-title";
import './assets/iconfont/iconfont.css' import './assets/iconfont/iconfont.css'
import dataV from '@jiaminghi/data-view' import dataV from '@jiaminghi/data-view'
import Base64 from "./utils/crypto"; import Base64 from "./utils/crypto";
import moment from 'moment'
Vue.use(dataV) Vue.use(dataV)
import Video from 'video.js' import Video from 'video.js'
import 'video.js/dist/video-js.css' import 'video.js/dist/video-js.css'
Vue.prototype.$video = Video Vue.prototype.$video = Video
Vue.prototype.$moment = moment;
// 引入echarts // 引入echarts
import echarts from 'echarts' import echarts from 'echarts'
Vue.prototype.$echarts = echarts Vue.prototype.$echarts = echarts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment