shaogen1995 2 年之前
父节点
当前提交
4715827575
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      后台/src/components/Z_RicjText/index.tsx

+ 1 - 1
后台/src/components/Z_RicjText/index.tsx

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