mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -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",
|
"homepage": "https://github.com/zhw2590582/ArtPlayer#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"option-validator": "^2.0.5",
|
"option-validator": "^2.0.6",
|
||||||
"screenfull": "^5.0.2"
|
"screenfull": "^5.0.2"
|
||||||
},
|
},
|
||||||
"gitHead": "0a3a20568e37f99972eefb01d4b1dcf4036a46db"
|
"gitHead": "0a3a20568e37f99972eefb01d4b1dcf4036a46db"
|
||||||
|
|||||||
@@ -9,15 +9,15 @@ function validElement(value, type, paths) {
|
|||||||
|
|
||||||
const component = {
|
const component = {
|
||||||
html: validElement,
|
html: validElement,
|
||||||
disable: 'boolean|undefined',
|
disable: '?boolean',
|
||||||
name: 'string|undefined',
|
name: '?string',
|
||||||
index: 'number|undefined',
|
index: '?number',
|
||||||
style: 'object|undefined',
|
style: '?object',
|
||||||
click: 'function|undefined',
|
click: '?function',
|
||||||
mounted: 'function|undefined',
|
mounted: '?function',
|
||||||
tooltip: 'string|undefined',
|
tooltip: '?string',
|
||||||
selector: 'array|undefined',
|
selector: '?array',
|
||||||
onSelect: 'function|undefined',
|
onSelect: '?function',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -69,7 +69,7 @@ export default {
|
|||||||
],
|
],
|
||||||
quality: [
|
quality: [
|
||||||
{
|
{
|
||||||
default: 'boolean|undefined',
|
default: '?boolean',
|
||||||
name: 'string',
|
name: 'string',
|
||||||
url: 'string',
|
url: 'string',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user