diff --git a/package.json b/package.json index c22a0f9..7df3831 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cool-admin-vue", - "version": "3.1.0", + "version": "3.1.1", "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", @@ -10,8 +10,8 @@ }, "dependencies": { "axios": "^0.21.1", - "cl-admin": "^1.4.0", - "cl-admin-crud": "^1.6.2", + "cl-admin": "^1.5.0", + "cl-admin-crud": "^1.6.4", "cl-admin-theme": "^0.0.4", "clipboard": "^2.0.7", "codemirror": "^5.59.4", @@ -24,7 +24,7 @@ "nprogress": "^0.2.0", "qs": "^6.9.1", "quill": "^1.3.7", - "socket.io-client": "^3.1.2", + "socket.io-client": "2.3.1", "store": "^2.0.12", "uuid": "^8.3.2", "vue": "^2.6.11", diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index 1619837..58b6f4b 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -1,6 +1,7 @@ * { padding: 0; margin: 0; + outline: none; font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif; } diff --git a/src/cool/index.js b/src/cool/index.js index 6a6ae83..5f05b88 100644 --- a/src/cool/index.js +++ b/src/cool/index.js @@ -3,7 +3,9 @@ import Theme from "cl-admin-theme"; export default { modules: [ + // 基础模块 "base", + // 文件上传 { name: "upload", options: { @@ -25,11 +27,17 @@ export default { } } }, + // 客服聊天 "chat", + // 任务管理 "task", + // 复制指令 "copy", + // 省市区选择 "distpicker", + // 示例页 "demo", + // 主题切换 { name: "theme", value: Theme diff --git a/src/cool/modules/base/common/index.js b/src/cool/modules/base/common/index.js index ea08a41..02a0f3c 100644 --- a/src/cool/modules/base/common/index.js +++ b/src/cool/modules/base/common/index.js @@ -41,17 +41,11 @@ export const resize = () => { } }); } + store.commit("SET_BROWSER"); }; window.onload = () => { - const observer = new MutationObserver(resize); - - observer.observe(document.getElementById("app"), { - childList: true, - subtree: true - }); - window.addEventListener("resize", resize); resize(); }; diff --git a/src/cool/modules/base/components/dept/tree.vue b/src/cool/modules/base/components/dept/tree.vue index 6202c02..111c760 100644 --- a/src/cool/modules/base/components/dept/tree.vue +++ b/src/cool/modules/base/components/dept/tree.vue @@ -10,7 +10,7 @@ -
  • +
  • @@ -46,7 +46,7 @@ }} @@ -59,8 +59,9 @@ + + \ No newline at end of file diff --git a/src/icons/svg/perf-connect.svg b/src/icons/svg/perf-connect.svg deleted file mode 100644 index 3e37961..0000000 --- a/src/icons/svg/perf-connect.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/perf-cpu.svg b/src/icons/svg/perf-cpu.svg deleted file mode 100644 index 9a9cc0c..0000000 --- a/src/icons/svg/perf-cpu.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/perf-db.svg b/src/icons/svg/perf-db.svg deleted file mode 100644 index 2b8ca77..0000000 --- a/src/icons/svg/perf-db.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/perf-disk.svg b/src/icons/svg/perf-disk.svg deleted file mode 100644 index 8fcd4a6..0000000 --- a/src/icons/svg/perf-disk.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/perf-lb.svg b/src/icons/svg/perf-lb.svg deleted file mode 100644 index ff0c36b..0000000 --- a/src/icons/svg/perf-lb.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/perf-network.svg b/src/icons/svg/perf-network.svg deleted file mode 100644 index 38176a8..0000000 --- a/src/icons/svg/perf-network.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/pages/layout/slider.vue b/src/pages/layout/slider.vue index 39796bb..17e5b30 100644 --- a/src/pages/layout/slider.vue +++ b/src/pages/layout/slider.vue @@ -2,7 +2,7 @@
    diff --git a/src/views/home/components/tab-chart.vue b/src/views/home/components/tab-chart.vue index 6261fa2..410f0d7 100644 --- a/src/views/home/components/tab-chart.vue +++ b/src/views/home/components/tab-chart.vue @@ -17,14 +17,13 @@