diff --git a/manager/src/components/editor/config.js b/manager/src/components/editor/config.js
index 249c017b..484b9106 100644
--- a/manager/src/components/editor/config.js
+++ b/manager/src/components/editor/config.js
@@ -5,25 +5,21 @@ import { upLoadFile } from "@/api/common";
export const initEditor = {
height: "400px",
language: "zh_CN",
- menubar: "file edit insert view format table", // 菜单:指定应该出现哪些菜单
+ menubar: "file edit view format table", // 菜单:指定应该出现哪些菜单
toolbar: toobar, // 分组工具栏控件
plugins: plugins, // 插件(比如: advlist | link | image | preview等)
object_resizing: false, // 是否禁用表格图片大小调整
end_container_on_empty_block: true, // enter键 分块
powerpaste_word_import: "merge", // 是否保留word粘贴样式 clean | merge
- code_dialog_height: 450, // 代码框高度 、宽度
- code_dialog_width: 1000,
advlist_bullet_styles: "square", // 无序列表 有序列表
maxSize: "2097152", // 设置图片大小
accept: "image/jpeg, image/png", // 设置图片上传规则
images_upload_handler: async function (blobInfo, success, failure) {
- console.log("请求")
const formData = new FormData();
formData.append("file", blobInfo.blob());
try {
const res = await upLoadFile(formData);
if (res.result) {
-
success(res.result)
} else {
failure("上传文件有误请稍后重试");
@@ -33,7 +29,7 @@ export const initEditor = {
}
},
// init_instance_callback: function (editor) {
- // var freeTiny = document.querySelector(".tox .tox-notification--in");
+ // var freeTiny = document.querySelector(".tox .tox-notification--in .tox-notification .tox-notification--warning .tox .tox-notification--warning .tox-notifications-container");
// freeTiny.style.display = "none";
// },
content_style: `
diff --git a/manager/src/components/editor/toolbar.js b/manager/src/components/editor/toolbar.js
index f3c483d4..9040d6ee 100644
--- a/manager/src/components/editor/toolbar.js
+++ b/manager/src/components/editor/toolbar.js
@@ -1,2 +1,2 @@
-const toolbar = ['searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample', 'hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor ']
+const toolbar = ['searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript', 'hr bullist numlist link charmap preview pagebreak insertdatetime table emoticons forecolor backcolor ']
export default toolbar
diff --git a/seller/src/api/index.js b/seller/src/api/index.js
index 32d64abe..38e125cc 100644
--- a/seller/src/api/index.js
+++ b/seller/src/api/index.js
@@ -369,4 +369,9 @@ export const editOtherUser = (id, params) => {
return putRequest(`/clerk/${id}`,params);
};
-
+// /**
+// * 搜索部门 先加入此api防止运行warn
+// */
+// export const searchDepartment = (params) => {
+// return getRequest("/permission/department/search", params);
+// };
diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
index 27d11a9e..75ca2a4c 100644
--- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
@@ -535,6 +535,7 @@
prop="intro"
style="width: 100%"
>
+ 将文件夹下的图片进行拖拽到文本框内,即可完成单/多图片上传。