From 0a1b5cc41a4e281bbc2bd026222df895d25b72f6 Mon Sep 17 00:00:00 2001 From: xuyucheng Date: Fri, 10 Jun 2022 16:58:42 +0800 Subject: [PATCH] new commit --- src/api/request.js | 2 +- src/assets/style/home/index.scss | 3 ++- src/view/home/index.vue | 10 ++++++++-- src/view/home/main/dashboard.vue | 31 ++++++++++++++++++++----------- 4 files changed, 31 insertions(+), 15 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index 7dcbe47..b9862a7 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -118,7 +118,7 @@ export default { }, // blob - post - BlobPost: function (path = '', data = {}) { + BlobPost: function (path = '', data = {}) { return new Promise(function (resolve, reject) { axios.post( path, data, { responseType: 'blob' }) diff --git a/src/assets/style/home/index.scss b/src/assets/style/home/index.scss index 889e621..2ffdf43 100644 --- a/src/assets/style/home/index.scss +++ b/src/assets/style/home/index.scss @@ -78,6 +78,7 @@ .main-row { height: 100%; + margin: 0 !important; display: flex; align-content: space-between; flex-wrap: wrap; @@ -87,7 +88,7 @@ #map { width: 100%; - height: 500px; + // height: 500px; } } } diff --git a/src/view/home/index.vue b/src/view/home/index.vue index 660a3dc..0667b3a 100644 --- a/src/view/home/index.vue +++ b/src/view/home/index.vue @@ -31,7 +31,7 @@ {{ item.title }} - +
@@ -123,7 +123,13 @@ export default { .el-tab-pane { height: 100%; - overflow: auto; + overflow: hidden; + + .pane-box{ + width:calc(100% + 5px); + height: 100%; + overflow: auto; + } } } \ No newline at end of file diff --git a/src/view/home/main/dashboard.vue b/src/view/home/main/dashboard.vue index b659fb7..3def654 100644 --- a/src/view/home/main/dashboard.vue +++ b/src/view/home/main/dashboard.vue @@ -1,7 +1,7 @@