feat: 新增 upload hook

This commit is contained in:
JaguarJack
2024-04-23 13:12:36 +08:00
parent bc59731083
commit 51be5c648b
5 changed files with 42 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import { ref } from 'vue'
import { getFileExt, getFilename } from '@/form/support/helper'
import { Code } from '@/form/enum/app'
import Message from '@/form/support/message'
import { getFileExt, getFilename } from '/admin/support/helper'
import { Code } from '/admin/enum/app'
import Message from '/admin/support/message'
import { genFileId } from 'element-plus'
import type { UploadInstance, UploadProps, UploadRawFile } from 'element-plus'