From ed4314e6c000c37d88f432d51385e839bff74919 Mon Sep 17 00:00:00 2001 From: chiayin Date: Thu, 28 Sep 2023 12:57:20 +0800 Subject: [PATCH] Issue #164: Done. --- src/components/Discover/Conformance/ConformanceSidebar.vue | 2 +- src/components/Discover/Conformance/StatusBar.vue | 2 +- src/views/Discover/Conformance/index.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Discover/Conformance/ConformanceSidebar.vue b/src/components/Discover/Conformance/ConformanceSidebar.vue index 2b1e62b..97b4b22 100644 --- a/src/components/Discover/Conformance/ConformanceSidebar.vue +++ b/src/components/Discover/Conformance/ConformanceSidebar.vue @@ -508,6 +508,7 @@ export default { this.$emitter.emit('reset', null); // reset 成功訊息 this.$toast.success('Rule cleared.'); + this.isShowBar = true; }, /** * 設定 Start & End Data 連動資料 @@ -900,7 +901,6 @@ export default { default: break; }; - console.log(data); if(data.min > data.max) return this.$toast.error('Please check time range setting.'); if(JSON.stringify(data) === JSON.stringify(this.isSubmitData)) return this.$toast.error('Please set the new rule.'); diff --git a/src/components/Discover/Conformance/StatusBar.vue b/src/components/Discover/Conformance/StatusBar.vue index 7952813..f890839 100644 --- a/src/components/Discover/Conformance/StatusBar.vue +++ b/src/components/Discover/Conformance/StatusBar.vue @@ -151,7 +151,7 @@ export default { if(this.$route.params.type === 'log') this.logId = this.$route.params.fileId; await this.allMapDataStore.getAllMapData(); await this.getStatData(); - this.isPanel = true; + this.isPanel = false; // 預設不打開 } } diff --git a/src/views/Discover/Conformance/index.vue b/src/views/Discover/Conformance/index.vue index 8424eee..4221569 100644 --- a/src/views/Discover/Conformance/index.vue +++ b/src/views/Discover/Conformance/index.vue @@ -31,11 +31,11 @@ export default { }, async created() { // let logId; + this.isLoading = true; if(this.$route.params.type === 'log') this.conformanceLogId = this.$route.params.fileId; await this.conformanceStore.getLogConformanceParams(); - // this.isLoading = true; this.isLoading = false; }, mounted() {