这是它显示的,而不是预订网站.这里是代码index.js
import React from 'react' const Appointment = () => { return ( <iframe src='https://outlook.office365.com/owa/calendar/xxx@xxx.onmicrosoft.com/bookings/' /> ) } export default Appointment
任何帮助都将不胜感激。谢谢
nuypyhwy1#
您需要为iframe给予高度和宽度
import React from 'react' const Appointment = () => { return ( <iframe src='https://outlook.office365.com/owa/calendar/xxx@xxx.onmicrosoft.com/bookings/' height:'800px' width:'100%' /> ) }
导出默认约会
1条答案
按热度按时间nuypyhwy1#
您需要为iframe给予高度和宽度
导出默认约会