Issues #186: fix, The sidevar needs to close when the button is pressed.
This commit is contained in:
@@ -349,6 +349,19 @@ export default {
|
||||
|
||||
// 執行完後才取消 loading
|
||||
this.isLoading = false;
|
||||
// 存檔 Modal 打開時,側邊欄要關閉
|
||||
this.$emitter.on('saveModal', boolean => {
|
||||
this.sidebarView = boolean;
|
||||
this.sidebarFilter = boolean;
|
||||
this.sidebarTraces = boolean;
|
||||
this.sidebarState = boolean;
|
||||
});
|
||||
this.$emitter.on('leaveFilter', boolean => {
|
||||
this.sidebarView = boolean;
|
||||
this.sidebarFilter = boolean;
|
||||
this.sidebarTraces = boolean;
|
||||
this.sidebarState = boolean;
|
||||
});
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user