#216 done by using return-to URL mechanism
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<DspLogo />
|
||||
</figure>
|
||||
<div class="flex justify-between items-center" v-show="showMember">
|
||||
<button class="btn btn-sm btn-neutral mr-2" @click.prevent="logOutButton">
|
||||
<button id="logout_btn" class="btn btn-sm btn-neutral mr-2" @click.prevent="logOutButton">
|
||||
Logout
|
||||
</button>
|
||||
<!-- <figure>
|
||||
@@ -56,9 +56,12 @@ export default {
|
||||
// 傳給 Map,通知 Sidebar 要關閉。
|
||||
this.$emitter.emit('leaveFilter', false);
|
||||
leaveFilter(false, this.allMapDataStore.addFilterId, false, this.logOut)
|
||||
} else if((this.$route.name === 'Conformance' || this.$route.name === 'CheckConformance') && (this.conformanceLogTempCheckId || this.conformanceFilterTempCheckId)) {
|
||||
} else if((this.$route.name === 'Conformance' || this.$route.name === 'CheckConformance')
|
||||
&& (this.conformanceLogTempCheckId || this.conformanceFilterTempCheckId)) {
|
||||
leaveConformance(false, this.conformanceStore.addConformanceCreateCheckId, false, this.logOut)
|
||||
} else this.logOut();
|
||||
} else {
|
||||
this.logOut();
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user