跳转到主要内容

ajax_error

Description

定义当 XML 数据加载失败时默认错误通知的显示方式

ajax_error: string | boolean

Example

// 将错误信息记录到控制台
scheduler.config.ajax_error = "console";

// 或者
// 禁用默认错误消息
// scheduler.config.ajax_error = false;

scheduler.init("scheduler_here");

Default value: "alert"

Details

默认情况下,当 scheduler.config.ajax_error = "alert" 时,错误通知显示如下:

ajax_error_property

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.