IModel

IModel 接口定义了模型对象的基本属性和方法。

export interface IModel {
  toJSON: () => any;
}

API

toJSON()

将模型对象转换为 JSON 格式