From 95a05f45da1925c696fa0e6d41938c6d8e247588 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 12 Sep 2023 12:06:59 +0700 Subject: [PATCH] inbox btn download --- src/views/Dashboard.vue | 132 +++++++++++----------------------------- 1 file changed, 37 insertions(+), 95 deletions(-) diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 17eac8e39..3ba13fe3a 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -81,7 +81,7 @@ const getData = async () => { console.log("🚀 ~ file: Dashboard.vue:82 ~ .then ~ inboxList:", inboxList.value) } ) - + .catch((e) => { // messageError($q, e); }) @@ -115,7 +115,7 @@ const removeData = async (id: string) => { hideLoader(); }); }; -const fileOpen = (url:string) => { +const fileOpen = (url: string) => { window.open(url, '_blank'); } @@ -123,42 +123,20 @@ const fileOpen = (url:string) => {