init test of tracedetailTools

This commit is contained in:
Peter Olu 2022-05-06 03:59:09 +01:00
parent a3d7e7ee00
commit 31b0d49234
3 changed files with 8 additions and 6 deletions

View File

@ -170,6 +170,7 @@ limitations under the License. -->
</div>
</div>
<!-- Trace Details tools here -->
<TraceDetailsTools />
<Filter v-if="showFilter" />
</div>
</template>
@ -193,6 +194,7 @@ import { useSelectorStore } from "@/store/modules/selectors";
import { ElMessage } from "element-plus";
import { Option } from "@/types/app";
import { useI18n } from "vue-i18n";
import TraceDetailsTools from './component/TraceDetailsTools'
const { t } = useI18n();
const dashboardStore = useDashboardStore();

View File

@ -124,6 +124,7 @@
</div>
</div>
</div>
<div class="no-data" v-else>{{ t("noData") }}</div>
</template>
<script lang="ts">
@ -133,8 +134,6 @@ import { useI18n } from "vue-i18n";
import { useTraceStore } from "@/store/modules/trace";
import { Option } from "@/types/app";
import copy from "@/utils/copy";
import List from "./components/List.vue";
import graphs from "./components/index";
import LogTable from "@/views/dashboard/related/components/LogTable/Index.vue";
import { ElMessage } from "element-plus";

View File

@ -12,7 +12,7 @@ See the License for the specific language governing permissions and
limitations under the License. -->
<template>
<div class="trace-detail" v-loading="loading">
<div
<!-- <div
class="trace-detail-wrapper clear"
v-if="traceStore.currentTrace.endpointNames"
>
@ -138,8 +138,9 @@ limitations under the License. -->
</el-button>
</div>
</div>
</div>
<div class="no-data" v-else>{{ t("noData") }}</div>
</div> -->
<!-- <div class="no-data" v-else>{{ t("noData") }}</div> -->
<div class="trace-chart">
<component
v-if="traceStore.currentTrace.endpointNames"
@ -163,7 +164,7 @@ import List from "./components/List.vue";
import graphs from "./components/index";
import LogTable from "@/views/dashboard/related/components/LogTable/Index.vue";
import { ElMessage } from "element-plus";
// import TraceDetailsTools from '@/views/dashboard'
export default defineComponent({
name: "TraceDetail",
components: {