What problem does this feature solve?
如下这种使用方式,动态控制类名
dialogClass: {
'class-a': true,
'class-b': false,
}
What does the proposed API look like?
dialogClass: {
type: [String, Object, Array], // vue 还支持一种数组形式的class,这个加了最好,不加也行
default: ()=>({})
}
889e145