Browse Source

操作日志每次都刷新/首页报表全屏展示窗口样式微调/刷新按钮去除阴影

zhuth 6 years ago
parent
commit
6bf03491dd

+ 1 - 0
src/components/chart/list.less

@@ -41,6 +41,7 @@
                         }
                         .btn-refresh {
                             border: none;
+                            box-shadow: none;
                             font-size: 18px;
                             &:after {
                                 content: none;

+ 1 - 0
src/components/dashboard/list.less

@@ -37,6 +37,7 @@
                     }
                     .btn-refresh {
                         border: none;
+                        box-shadow: none;
                         font-size: 18px;
                         &:after {
                             content: none;

+ 1 - 0
src/components/dataConnect/list.less

@@ -15,6 +15,7 @@
                         }
                         .btn-refresh {
                             border: none;
+                            box-shadow: none;
                             font-size: 18px;
                             &:after {
                                 content: none;

+ 1 - 0
src/components/dataSource/list.less

@@ -41,6 +41,7 @@
                     }
                     .btn-refresh {
                         border: none;
+                        box-shadow: none;
                         font-size: 18px;
                         &:after {
                             content: none;

+ 2 - 1
src/components/homePage/toolbar.less

@@ -20,6 +20,7 @@
 .modal-full {
     top: 0;
     padding: 0;
+    overflow-x: hidden;
     .ant-modal-content {
         height: 100%;
         .ant-modal-close {
@@ -27,7 +28,7 @@
             height: 0;
             border-width: 20px;
             border-style: solid;
-            border-color: #DEDEDE #DEDEDE transparent transparent;
+            border-color: transparent #DEDEDE transparent transparent;
             transform: rotate(135deg);
             right: -18px;
             top: -20px;

+ 4 - 4
src/models/logs.js

@@ -71,10 +71,10 @@ export default {
                 pageSize: pageSize || 999
             }
             try{
-                const logs = yield select(state => state.present.logs);
-                if(!action.mandatory && logs.list.length > 0) {
-                    return;
-                }
+                // const logs = yield select(state => state.present.logs);
+                // if(!action.mandatory && logs.list.length > 0) {
+                //     return;
+                // }
                 const res = yield call(service.fetch, {
                     url: URLS.MESSAGELOG_LIST,
                     method: 'GET',