From b4d2f5c943e7ed48ae06e248f287aaff97f451fe Mon Sep 17 00:00:00 2001 From: Ting-Jun Wang Date: Sat, 23 Jan 2021 21:37:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=E5=85=AC=E5=91=8A&?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3chrome=E7=80=8F=E8=A6=BD=E5=99=A8=E7=84=A1?= =?UTF-8?q?=E6=B3=95=E8=A4=87=E8=A3=BD=E5=88=86=E4=BA=AB=E7=B6=B2=E5=9D=80?= =?UTF-8?q?=E5=95=8F=E9=A1=8C(#10)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/components/main.vue | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/js/components/main.vue b/js/components/main.vue index be47fce..1bb8994 100644 --- a/js/components/main.vue +++ b/js/components/main.vue @@ -190,9 +190,8 @@ var mainWindow = { }); }, 'share': function(){ - url = "https://snsd0805.com/NCNU_Course/#/share/" if(this.user!="") - alert("請複製以下網址給你的朋友,跟他分享你的課表\n\n"+url+this.user.id) + $('#share').modal('show'); else this.login() } @@ -300,9 +299,33 @@ var mainWindow = { + + + + + +