前端爱码士
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
5 additions and
5 deletions
-
src/components/Dropdown/src/Dropdown.vue
-
src/components/Form/src/props.ts
-
src/components/Preview/src/Functional.vue
-
src/components/Table/src/props.ts
-
src/components/Upload/src/props.ts
|
|
@ -57,7 +57,7 @@ |
|
|
* @type string[] |
|
|
* @type string[] |
|
|
*/ |
|
|
*/ |
|
|
trigger: { |
|
|
trigger: { |
|
|
type: [Array] as PropType<('contextmenu' | 'click' | 'hover')[]>, |
|
|
type: Array as PropType<('contextmenu' | 'click' | 'hover')[]>, |
|
|
default: () => { |
|
|
default: () => { |
|
|
return ['contextmenu']; |
|
|
return ['contextmenu']; |
|
|
}, |
|
|
}, |
|
|
|
|
|
@ -23,7 +23,7 @@ export const basicProps = { |
|
|
compact: propTypes.bool, |
|
|
compact: propTypes.bool, |
|
|
// 表单配置规则
|
|
|
// 表单配置规则
|
|
|
schemas: { |
|
|
schemas: { |
|
|
type: [Array] as PropType<FormSchema[]>, |
|
|
type: Array as PropType<FormSchema[]>, |
|
|
default: () => [], |
|
|
default: () => [], |
|
|
}, |
|
|
}, |
|
|
mergeDynamicData: { |
|
|
mergeDynamicData: { |
|
|
|
|
|
@ -30,7 +30,7 @@ |
|
|
default: false, |
|
|
default: false, |
|
|
}, |
|
|
}, |
|
|
imageList: { |
|
|
imageList: { |
|
|
type: [Array] as PropType<string[]>, |
|
|
type: Array as PropType<string[]>, |
|
|
default: null, |
|
|
default: null, |
|
|
}, |
|
|
}, |
|
|
index: { |
|
|
index: { |
|
|
|
|
|
@ -84,7 +84,7 @@ export const basicProps = { |
|
|
default: null, |
|
|
default: null, |
|
|
}, |
|
|
}, |
|
|
columns: { |
|
|
columns: { |
|
|
type: [Array] as PropType<BasicColumn[]>, |
|
|
type: Array as PropType<BasicColumn[]>, |
|
|
default: () => [], |
|
|
default: () => [], |
|
|
}, |
|
|
}, |
|
|
showIndexColumn: { type: Boolean, default: true }, |
|
|
showIndexColumn: { type: Boolean, default: true }, |
|
|
|
|
|
@ -69,7 +69,7 @@ export const previewProps = { |
|
|
|
|
|
|
|
|
export const fileListProps = { |
|
|
export const fileListProps = { |
|
|
columns: { |
|
|
columns: { |
|
|
type: [Array] as PropType<FileBasicColumn[]>, |
|
|
type: Array as PropType<FileBasicColumn[]>, |
|
|
default: null, |
|
|
default: null, |
|
|
}, |
|
|
}, |
|
|
actionColumn: { |
|
|
actionColumn: { |
|
|
|