{
const temp: number[] = props.data[key.value].map((i: any) => i.value);
return Math.max.apply(null, temp);
});
-function handleClick(event: PointerEvent, i: string) {
- event.stopPropagation();
+function handleClick(i: string) {
copy(i);
}
function viewTrace(item: { name: string; id: string }) {
@@ -139,10 +138,6 @@ function viewTrace(item: { name: string; id: string }) {
text-overflow: ellipsis;
}
-.copy {
- width: 30px;
-}
-
.calls {
font-size: 12px;
padding: 0 5px;
@@ -171,4 +166,22 @@ function viewTrace(item: { name: string; id: string }) {
-webkit-box-pack: center;
-webkit-box-align: center;
}
+
+.operation-icon {
+ color: #333;
+}
+
+.operation {
+ padding: 5px 0;
+ color: #333;
+ cursor: pointer;
+ position: relative;
+ text-align: center;
+ font-size: 12px;
+
+ &:hover {
+ color: #409eff;
+ background-color: #eee;
+ }
+}
diff --git a/src/views/dashboard/related/trace/Detail.vue b/src/views/dashboard/related/trace/Detail.vue
index d00574e1..d195a055 100644
--- a/src/views/dashboard/related/trace/Detail.vue
+++ b/src/views/dashboard/related/trace/Detail.vue
@@ -34,7 +34,7 @@ limitations under the License. -->