feat: 组件
This commit is contained in:
15
types/components.d.ts
vendored
15
types/components.d.ts
vendored
@ -8,8 +8,23 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Button: typeof import('./../packages/button/index.vue')['default']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||
ElInput: typeof import('element-plus/es')['ElInput']
|
||||
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
||||
ElRow: typeof import('element-plus/es')['ElRow']
|
||||
ElTable: typeof import('element-plus/es')['ElTable']
|
||||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
|
||||
Header: typeof import('./../packages/header/index.vue')['default']
|
||||
PreviewOffice: typeof import('./../packages/preview-office/index.vue')['default']
|
||||
PreviewOfficeView: typeof import('./../packages/preview-office-view/index.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
SelectTableModal: typeof import('./../packages/select-table-modal/index.vue')['default']
|
||||
UploadAvatar: typeof import('./../packages/upload-avatar/index.vue')['default']
|
||||
UploadTable: typeof import('./../packages/upload-table/index.vue')['default']
|
||||
}
|
||||
}
|
||||
|
27
types/file.d.ts
vendored
Normal file
27
types/file.d.ts
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
declare interface FileVO {
|
||||
/**
|
||||
* 文件VO
|
||||
*
|
||||
*/
|
||||
id?: number
|
||||
/**
|
||||
* 文件名称
|
||||
*
|
||||
*/
|
||||
name?: string
|
||||
/**
|
||||
* 文件大小(字节)
|
||||
*
|
||||
*/
|
||||
size?: number
|
||||
/**
|
||||
* 文件扩展名
|
||||
*
|
||||
*/
|
||||
extension?: string
|
||||
/**
|
||||
* 文件url
|
||||
*
|
||||
*/
|
||||
url?: string
|
||||
}
|
Reference in New Issue
Block a user