具体代码: import type { UploadProps } from 'element-plus' 报错提示: 解决方案 主要是这里用到了ts的语法但是忘记声明使用ts环境 lang="ts" 真是大意失荆州