vxe-design
Version:
A PC-based visual designer based on Vxe UI, used for building zero-code and low-code platforms
23 lines (19 loc) • 699 B
text/typescript
import { handleGetFormDesignWidgetName } from '../render/util'
import type { VxeUploadPropTypes } from 'vxe-pc-ui'
import type { VxeGlobalRendererHandles } from '../../../types'
export interface WidgetVxeUploadImageFormObjVO {
limitCount: VxeUploadPropTypes.LimitCount
limitSize: VxeUploadPropTypes.LimitSize
multiple: VxeUploadPropTypes.Multiple
}
export const getWidgetVxeUploadImageConfig = (): VxeGlobalRendererHandles.CreateFormDesignWidgetConfigObj<WidgetVxeUploadImageFormObjVO> => {
return {
title: handleGetFormDesignWidgetName,
icon: 'vxe-icon-file-image',
options: {
limitCount: 9,
limitSize: 10,
multiple: false
}
}
}