Fullcalendar 事件上的resourceEditable=false是否应禁止该事件在资源之间切换?
我正在使用fullcalendar v4,从scheduler resourceTimeGrid开始。关于资源,我刚刚遇到了我将在这里描述的情况,我想问一下我的问题(我写这些行是因为SO认为我的问题中没有足够的文本。Lorem ipsum dolore sit amet Concertetur): 以下行为正常吗?即使使用resourceEditable=false,也可以将事件切换到其他资源Fullcalendar 事件上的resourceEditable=false是否应禁止该事件在资源之间切换?,fullcalendar,fullcalendar-scheduler,fullcalendar-4,Fullcalendar,Fullcalendar Scheduler,Fullcalendar 4,我正在使用fullcalendar v4,从scheduler resourceTimeGrid开始。关于资源,我刚刚遇到了我将在这里描述的情况,我想问一下我的问题(我写这些行是因为SO认为我的问题中没有足够的文本。Lorem ipsum dolore sit amet Concertetur): 以下行为正常吗?即使使用resourceEditable=false,也可以将事件切换到其他资源 将事件拖放一次,以禁用该事件的可编辑和可编辑资源 将该事件放入其他资源的测试:即使使用resour
将事件拖放一次,以禁用该事件的可编辑和可编辑资源
将该事件放入其他资源的测试:即使使用resourceEditable=false,也可以将事件切换到其他资源
var calendarEl=document.getElementById('calendarArea');
var today=新日期();
var month=(today.getMonth()+1)>10?today.getMonth()+1:'0'+(today.getMonth()+1);
var day=today.getDate()>10?today.getDate():“0”+today.getDate();
var todayStringStart=today.getFullYear()++'-'+month++'-'+today.getDate()++'T08:00';
var todayStringEnd=today.getFullYear()++'-'+month++'-'+today.getDate()++'T09:00';
var calendar=新的完整日历。日历(calendarEl{
插件:['interaction','resourceTimeGrid'],
defaultView:'resourceTimeGridWeek',
是的,
周末:错,
eventResourceEditable:对,
滚动时间:“07:00:00”,
SchedulerLisceKey:“GPL我的项目是开源的”,
资源:[
{
id:'a',
标题:“A室”,
},
{
id:'b',
标题:“B室”,
},
],
活动:[
{
id:'a',
标题:“我的活动”,
开始:今天开始,
完:今天,,
resourceId:'a',
是的,
对,,
},
],
观点:{
resourceTimeGridWeek:{
键入:“resourceTimeGrid”,
持续时间:{周:1},
},
resourceTimeGridMonth:{
键入:“resourceTimeGrid”,
持续时间:{月份:1},
},
},
eventDrop:(信息)=>{
info.event.setProp('editable',false);
info.event.setProp('resourceEditable',false);
},
});
calendar.render();
是的,它应该(也可能会),但目前在库中有一个改进
这似乎是一个问题:
与fullcalendar中一个更大的问题相关:是的,它应该(也可能会),但目前在库中有一个改进
这似乎是一个问题:
与fullcalendar中的一个更大问题相关:看起来您可能在fullcalendar中发现了一个bug。这里有报告bug的说明:看起来您可能在fullCalendar中发现了bug。此处有报告错误的说明: