import { google, outlook, office365, yahoo, ics } from "calendar-link";
jumpToMarkCalendar(type, item){
let url = null;
let event = {
title: title,
description: item.description +
`<br/>點擊下列連結<br/><a href="` + this.webexUrl + `">` + this.webexUrl + `</a>`,
start: item.startDate,
end: item.endDate
}
switch (type) {
case 'google':
url = google(event);
break;
case 'outlook':
url = outlook(event);
break;
case 'office365':
url = office365(event);
break;
case 'yahoo':
url = yahoo(event);
break;
case 'ics':
event.description = item.description +
`\n點擊下列連結\n` + this.webexUrl
url = ics(event);
break;
default:
break;
}
window.open(url, '_blank')
}
添加日程到电子日历中
最新推荐文章于 2022-04-06 09:48:56 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)