|
@@ -93,7 +93,7 @@ function RichText({ check, dirCode, isLook }: Props, ref: any) {
|
|
|
// 创建FormData对象
|
|
|
const fd = new FormData();
|
|
|
// 把files添加进FormData对象(‘photo’为后端需要的字段)
|
|
|
- fd.append("type", "thumb");
|
|
|
+ fd.append("type", "img");
|
|
|
fd.append("dirCode", dirCode);
|
|
|
fd.append("file", filesInfo);
|
|
|
|