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 = {