Issue #164: Done.

This commit is contained in:
chiayin
2023-09-28 12:57:20 +08:00
parent 18f376c734
commit ed4314e6c0
3 changed files with 3 additions and 3 deletions

View File

@@ -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.');

View File

@@ -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; // 預設不打開
}
}
</script>

View File

@@ -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() {