From 0b94a3233794a587b5d753b43b9a3146d799c25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Mon, 3 Jun 2024 15:22:11 +0800 Subject: [PATCH] xg --- src/api/system/wangEditor.js | 9 ++++++ src/views/system/components/message.vue | 2 +- src/views/system/components/miniProgram.vue | 2 +- .../system/components/officialAccount.vue | 3 +- src/views/system/components/propaganda.vue | 2 +- src/views/system/components/question.vue | 2 +- src/views/system/components/script.vue | 2 +- src/views/system/components/wangEditor.vue | 30 ++++++++++++++++--- 8 files changed, 42 insertions(+), 10 deletions(-) diff --git a/src/api/system/wangEditor.js b/src/api/system/wangEditor.js index ba4db67..9b8ace9 100644 --- a/src/api/system/wangEditor.js +++ b/src/api/system/wangEditor.js @@ -6,4 +6,13 @@ export function labelFieldList(fieldType) { url: `/manage/labelfieldinfo/labelFieldList?fieldType=${fieldType}`, method: 'get', }) +} + +//上传图片 +export function richTextPictureUrl(data) { + return request({ + url: `/common/richTextPictureUrl`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/system/components/message.vue b/src/views/system/components/message.vue index ca88446..e2ca408 100644 --- a/src/views/system/components/message.vue +++ b/src/views/system/components/message.vue @@ -1,6 +1,6 @@