Issues #182: done.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user