Conformance: StatusBar done.

This commit is contained in:
chiayin
2023-07-12 15:52:03 +08:00
parent 9db7b73d2c
commit 6955f376ca
3 changed files with 87 additions and 31 deletions

View File

@@ -1,6 +1,5 @@
<template>
<main class="h-screen-main relative">
<!-- <StatusBar></StatusBar> -->
<div class="h-full relative bg-neutral-50">
<ConformanceSidebar></ConformanceSidebar>
<ConformanceResults></ConformanceResults>
@@ -21,9 +20,9 @@ export default {
const loadingStore = LoadingStore();
const conformanceStore = ConformanceStore();
const { isLoading } = storeToRefs(loadingStore);
const { logId } = storeToRefs(conformanceStore);
const { conformanceLogId } = storeToRefs(conformanceStore);
return { isLoading, logId, conformanceStore }
return { isLoading, conformanceLogId, conformanceStore }
},
components: {
StatusBar,
@@ -32,8 +31,7 @@ export default {
},
async created() {
// let logId;
if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId;
console.log(this.logId);
if(this.$route.params.type === 'log') this.conformanceLogId = this.$route.params.fileId;
await this.conformanceStore.getLogConformanceParams();