提交 bc217da0 编写于 作者: 雪洛's avatar 雪洛

update: app端可以只传files,不传filePath和name

上级 4d8c89d3
......@@ -7,14 +7,12 @@ export const uploadFile = {
},
filePath: {
type: String,
required: true,
validator (value, params) {
params.type = getRealPath(value)
}
},
name: {
type: String,
required: true
type: String
},
header: {
type: Object,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册