diff --git a/package.json b/package.json index 6f99949..a8d2f2f 100644 --- a/package.json +++ b/package.json @@ -37,10 +37,8 @@ "axios": "^0.21.1", "clipboard": "2.0.4", "codemirror": "^5.49.2", - "connect": "3.6.6", "core-js": "^2.6.12", "echarts": "^4.2.1", - "echarts-gl": "^1.1.1", "echarts-wordcloud": "^1.1.3", "element-ui": "^2.15.6", "file-saver": "1.3.8", @@ -60,7 +58,6 @@ "vue-count-to": "^1.0.13", "vue-cropper": "0.4.9", "vue-echarts": "^5.0.0-beta.0", - "vue-highlightjs": "^1.3.3", "vue-image-crop-upload": "^2.5.0", "vue-router": "3.0.2", "vue-splitpane": "1.0.4", @@ -87,6 +84,7 @@ "chalk": "2.4.2", "chokidar": "2.1.5", "connect": "3.6.6", + "compression-webpack-plugin": "5.0.2", "eslint": "5.15.3", "eslint-plugin-vue": "5.2.2", "html-webpack-plugin": "3.2.0", diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file diff --git a/src/components/Echarts/Line3D.vue b/src/components/Echarts/Line3D.vue deleted file mode 100644 index c3f16f6..0000000 --- a/src/components/Echarts/Line3D.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - diff --git a/src/components/Echarts/WordCloud.vue b/src/components/Echarts/WordCloud.vue deleted file mode 100644 index 415f2a8..0000000 --- a/src/components/Echarts/WordCloud.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/src/main.js b/src/main.js index f4c6290..a6f5eec 100644 --- a/src/main.js +++ b/src/main.js @@ -5,9 +5,6 @@ import Cookies from 'js-cookie' import 'normalize.css/normalize.css' import Element from 'element-ui' -// -import mavonEditor from 'mavon-editor' -import 'mavon-editor/dist/css/index.css' // 数据字典 import dict from './components/Dict' @@ -16,24 +13,18 @@ import dict from './components/Dict' import checkPer from '@/utils/permission' import permission from './components/Permission' import './assets/styles/element-variables.scss' + // global css import './assets/styles/index.scss' -// 代码高亮 -import VueHighlightJS from 'vue-highlightjs' -import 'highlight.js/styles/atom-one-dark.css' - import App from './App' import store from './store' import router from './router/routers' import './assets/icons' // icon import './router/index' // permission control -import 'echarts-gl' Vue.use(checkPer) -Vue.use(VueHighlightJS) -Vue.use(mavonEditor) Vue.use(permission) Vue.use(dict) Vue.use(Element, { diff --git a/src/views/components/Echarts.vue b/src/views/components/Echarts.vue index d70a8a3..fb33b23 100644 --- a/src/views/components/Echarts.vue +++ b/src/views/components/Echarts.vue @@ -34,21 +34,16 @@ - +
- +
- -
- -
-
@@ -62,11 +57,6 @@ - -
- -
-
@@ -86,10 +76,8 @@ import Sunburst from '@/components/Echarts/Sunburst' import Graph from '@/components/Echarts/Graph' import Sankey from '@/components/Echarts/Sankey' import Scatter from '@/components/Echarts/Scatter' -import Line3D from '@/components/Echarts/Line3D' import Category from '@/components/Echarts/Category' import Point from '@/components/Echarts/Point' -import WordCloud from '@/components/Echarts/WordCloud' export default { name: 'Echarts', @@ -104,9 +92,7 @@ export default { Rich, ThemeRiver, Sankey, - Line3D, - Scatter, - WordCloud + Scatter } } diff --git a/src/views/components/MarkDown.vue b/src/views/components/MarkDown.vue index bb5a10e..85876a4 100644 --- a/src/views/components/MarkDown.vue +++ b/src/views/components/MarkDown.vue @@ -11,8 +11,14 @@