Browse Source

update summary for log & perf

cnwangzd@gmail.com 1 year ago
parent
commit
08692a7da2

+ 1 - 1
app/matrix/m3graph/index.html

@@ -41,5 +41,5 @@
     </div>
     <div id="app"></div>
     <!-- built files will be auto injected -->
-    <script type="text/javascript" src="/static/app/matrix/m3graph/js/chunk-vendors.46c1597e.js"></script><script type="text/javascript" src="/static/app/matrix/m3graph/js/app.eebf558b.js"></script></body>
+    <script type="text/javascript" src="/static/app/matrix/m3graph/js/chunk-vendors.46c1597e.js"></script><script type="text/javascript" src="/static/app/matrix/m3graph/js/app.0063ebb8.js"></script></body>
 </html>

BIN
m3graph.zip


+ 1 - 1
src/components/graph/index.vue

@@ -11,7 +11,7 @@
                 </SplitArea>
                 <SplitArea :size="split.sizes[1]" :minSize="0" style="overflow:hidden;position: relative;">
                     <div style="position:absolute;top:0px;right:0px;font-size:16px;">
-                        <el-button type="text" icon="el-icon-close" @click="onCloseRight"></el-button>
+                        <el-button type="default" icon="el-icon-close" @click="onCloseRight"></el-button>
                     </div>
                     <ContentBar ref="contentRef" @open-right="onOpenRight"></ContentBar>
                 </SplitArea>

+ 13 - 0
src/components/search/logs.vue

@@ -11,6 +11,8 @@
 
 <script>
 import logView from './logView.vue';
+import _forEach from 'lodash/forEach';
+import _filter from 'lodash/filter';
 
 export default{
     props:{
@@ -18,6 +20,17 @@ export default{
     },
     components:{
         logView
+    },
+    watch:{
+        'dt.rows':{
+            handler(val){
+
+                if(val.length === _filter(val,{show:false}).length ){
+                    this.dt.show = false;
+                }
+            },
+            deep:true
+        }
     }
 }
 </script>

+ 13 - 0
src/components/search/perf.vue

@@ -11,6 +11,8 @@
 
 <script>
 import lineChart from './lineChart.vue';
+import _forEach from 'lodash/forEach';
+import _filter from 'lodash/filter';
 
 export default{
     props:{
@@ -18,6 +20,17 @@ export default{
     },
     components:{
         lineChart
+    },
+    watch:{
+        'dt.rows':{
+            handler(val){
+
+                if(val.length === _filter(val,{show:false}).length ){
+                    this.dt.show = false;
+                }
+            },
+            deep:true
+        }
     }
 }
 </script>

BIN
zitf9kwr