mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 12:46:15 -08:00
更新option-validator
This commit is contained in:
1 parent
deaa4fa13d
commit
b5e501ef1c
2 files changed
+11
-11
No files matched your search
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/zhw2590582/ArtPlayer#readme",
|
||||
"dependencies": {
|
||||
"option-validator": "^2.0.5",
|
||||
"option-validator": "^2.0.6",
|
||||
"screenfull": "^5.0.2"
|
||||
},
|
||||
"gitHead": "0a3a20568e37f99972eefb01d4b1dcf4036a46db"
|
||||
|
||||
@@ -9,15 +9,15 @@ function validElement(value, type, paths) {
|
||||
|
||||
const component = {
|
||||
html: validElement,
|
||||
disable: 'boolean|undefined',
|
||||
name: 'string|undefined',
|
||||
index: 'number|undefined',
|
||||
style: 'object|undefined',
|
||||
click: 'function|undefined',
|
||||
mounted: 'function|undefined',
|
||||
tooltip: 'string|undefined',
|
||||
selector: 'array|undefined',
|
||||
onSelect: 'function|undefined',
|
||||
disable: '?boolean',
|
||||
name: '?string',
|
||||
index: '?number',
|
||||
style: '?object',
|
||||
click: '?function',
|
||||
mounted: '?function',
|
||||
tooltip: '?string',
|
||||
selector: '?array',
|
||||
onSelect: '?function',
|
||||
};
|
||||
|
||||
export default {
|
||||
@@ -69,7 +69,7 @@ export default {
|
||||
],
|
||||
quality: [
|
||||
{
|
||||
default: 'boolean|undefined',
|
||||
default: '?boolean',
|
||||
name: 'string',
|
||||
url: 'string',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user