mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
13ffea1114
* refactor(components): refactor ElUpload * refactor(components): refactor upload * test: use jsx * refactor: resolve review comments * fix: ts error * refactor: re-order imports * refactor: rename * fix: infinity watch * refactor: rename * refactor: address PR comments Co-authored-by: Kevin <sxzz@sxzz.moe>
9 lines
210 B
TypeScript
9 lines
210 B
TypeScript
import type { ComputedRef, InjectionKey } from 'vue'
|
|
|
|
export interface UploadContext {
|
|
accept: ComputedRef<string>
|
|
}
|
|
|
|
export const uploadContextKey: InjectionKey<UploadContext> =
|
|
Symbol('uploadContextKey')
|