调整选择器参数

This commit is contained in:
Harvey committed 2020-08-25 14:51:12 +08:00
1 parent c621687988
commit 53d2f12ab6
8 files changed
+45 -70

No files matched your search

+5 -12
View File
@@ -8,8 +8,11 @@ type Component = {
mounted?: Function;
tooltip?: string;
position?: 'top' | 'left' | 'right';
selector?: string[];
onSelect?: Function,
selector?: {
name: string;
value: string;
}[];
onSelect?: Function;
};
export default class Artplayer {
@@ -54,16 +57,6 @@ export default class Artplayer {
name: string;
url: string;
}[];
switcher?: {
index?: number;
click?: Function;
name?: string;
default?: string;
list: {
name: string;
text: string;
}[];
}[];
highlight?: {
time: number;
text: string;