Issues #182: done.

This commit is contained in:
chiayin
2023-11-06 14:49:25 +08:00
parent 672d93b821
commit d21d4ed16b
5 changed files with 5 additions and 8 deletions

View File

@@ -299,7 +299,6 @@ export default {
// 先 loading 再執行以下程式
this.isLoading = true;
// Log 檔前往 Map Log 頁, Filter 檔前往 Map Filter 頁
this.baseLogId = this.$route.params.fileId;
if(this.$route.params.type === 'log'){
this.logId = this.$route.params.fileId;
}else if(this.$route.params.type === 'filter') {
@@ -317,6 +316,7 @@ export default {
this.baseTraceId = await this.baseTraces[0]?.id;
this.createCy(this.mapType);
await this.allMapDataStore.getFilterParams();
await this.allMapDataStore.getTraceDetail();
// 執行完後才取消 loading
this.isLoading = false;

View File

@@ -148,6 +148,7 @@
case 'Filter':
this.createFilterId = file.id;
this.baseLogId = file.log.id;
console.log('files filter:', this.baseLogId);
fileId = file.id;
type = 'filter';
params = { type: type, fileId: fileId };