@@ -167,7 +167,7 @@ export default {
label: "图片",
prop: "pic",
type: 'upload',
- dataType: 'string',
+ // dataType: 'string',
hide: true,
propsHttp: {
res: "data",
@@ -323,7 +323,8 @@ export default {
- url: 'data'
+ res: "data",
+ url: 'link'
},
listType: 'picture-img',
span: 24,
@@ -164,15 +164,17 @@
{
label: "党员证件",
prop: "memberPic",
+ type: "upload",
listType: "picture-img",
- action: "/api/upload/put-file",
+ action: "/api/blade-resource/oss/endpoint/put-file",
- url: "data"
+ url: "link",
+ res: "data"
type: "upload",
rules: [{
- required: true,
+ required: false,
message: "请上传党员证件图像",
trigger: "blur"
}]