摘要: 匹配某些值中的一个 type: { validator: function(value) { return ["success", "warning", "danger"].includes(value); } } 对象或数组默认值必须从一个工厂函数获取 list: { type: Array, default: () => [] } 阅读全文
posted @ 2019-04-18 10:07 conglvse 阅读(347) 评论(0) 推荐(0) 编辑