{
"schema": {
"type": "object",
"properties": {
"background": {
"title": "遮罩背景色",
"type": "string",
"default": ""
},
"body": {
"title": "同 v-loading 指令中的 body 修饰符",
"type": "boolean",
"default": false
},
"$$customClass": {
"title": "Loading 的自定义类名",
"type": "string",
"default": ""
},
"fullscreen": {
"title": "同 v-loading 指令中的 fullscreen 修饰符",
"type": "boolean",
"default": true
},
"lock": {
"title": "同 v-loading 指令中的 lock 修饰符",
"type": "boolean",
"default": false
},
"spinner": {
"title": "自定义加载图标类名",
"type": "string",
"default": ""
},
"$$target": {
"title": "Loading 需要覆盖的 DOM 节点。可传入一个 DOM 对象或字符串;若传入字符串,则会将其作为参数传入 document.querySelector 以获取到对应 DOM 节点",
"type": ["string", "object"],
"default": "document.body"
},
"text": {
"title": "显示在加载图标下方的加载文案",
"type": "string",
"default": ""
}
}
}
}