From 9945e373c32ab67197860b8aa0b501d27eb77137 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Mon, 19 Aug 2024 10:05:13 +0800
Subject: [PATCH] fix
---
public/static/ueditorPlus/ueditor.config.js | 2 +-
src/components/ueditorPlus/index.vue | 8 +++++-
src/pages/ques/detail/index.vue | 17 ++++++++-----
src/pages/testPaper/detail/index.vue | 28 +++++++++++++++++----
src/pages/testPaper/detail/manual.vue | 19 ++++++++++++--
5 files changed, 59 insertions(+), 15 deletions(-)
diff --git a/public/static/ueditorPlus/ueditor.config.js b/public/static/ueditorPlus/ueditor.config.js
index f555c0e..3a2ceda 100644
--- a/public/static/ueditorPlus/ueditor.config.js
+++ b/public/static/ueditorPlus/ueditor.config.js
@@ -101,7 +101,7 @@
// 禁止本地上传
disableUpload: false,
}
- , zIndex: 2500
+ , zIndex: 2000
, fullscreen: false
, rgb2Hex: true,
diff --git a/src/components/ueditorPlus/index.vue b/src/components/ueditorPlus/index.vue
index 75c2ed6..7c5c887 100644
--- a/src/components/ueditorPlus/index.vue
+++ b/src/components/ueditorPlus/index.vue
@@ -13,6 +13,11 @@ export default {
default: function () {
return ''
}
+ },
+ config: {
+ default () {
+ return {}
+ }
}
},
data () {
@@ -48,7 +53,8 @@ export default {
this.instance = UE.getEditor(this.randomId, {
UEDITOR_HOME_URL: Setting.isDev ? '/static/ueditorPlus/' : '/examination/static/ueditorPlus/',
serverUrl: "http://121.37.12.51/exam/exam/upload/configAndUpload",
- plugins: 'gapfilling'
+ plugins: 'gapfilling',
+ ...this.config
})
this.instance.addListener('ready', () => {
diff --git a/src/pages/ques/detail/index.vue b/src/pages/ques/detail/index.vue
index 2d4ab6d..8faea78 100644
--- a/src/pages/ques/detail/index.vue
+++ b/src/pages/ques/detail/index.vue
@@ -34,7 +34,7 @@
-
+
请输入
- optReady(editor, item)" />
+ optReady(editor, item)" />
@@ -124,7 +124,8 @@
-
+
@@ -132,13 +133,14 @@
-
-
+