当维度选择2的时候,让日期控件最小只能选到2024-09-01,应该怎样做,按文档写的JS if(b==2) { _g().getWidgetByName("start_time").setMaxAndMinDate({ min: "2024-09-01" }); _g().getWidgetByName("end_time").setMaxAndMinDate({ min: "2024-09-01" }); _g().getWidgetByName("start_time_vs").setMaxAndMinDate({ min: "2023-09-01" }); _g().getWidgetByName("end_time_vs").setMaxAndMinDate({ min: "2023-09-01" }); } 帆软的版本是11,这段JS不能生效并且报错 CustomJSError : Cannot read properties of undefined (reading 'setMaxAndMinDate') |