Issues #186: fix, The sidevar needs to close when the button is pressed.

This commit is contained in:
chiayin
2023-11-06 16:12:18 +08:00
parent 5d958f672f
commit d288c8f68e
3 changed files with 17 additions and 0 deletions

View File

@@ -123,6 +123,8 @@ export default {
* Save button' modal
*/
async saveModal() {
// 傳給 Map通知 Sidebar 要關閉。
this.$emitter.emit('saveModal', false);
// 先判斷有沒有 filter Id有就儲存 return沒有就往下走
// 沒有 filter Id, 有暫存 tempFilterId Id 可以另存新檔
if(this.createFilterId) {