diff --git a/eladmin-web/src/components/WangEditor/index.vue b/eladmin-web/src/components/WangEditor/index.vue
index 9da6b8b..a5df339 100644
--- a/eladmin-web/src/components/WangEditor/index.vue
+++ b/eladmin-web/src/components/WangEditor/index.vue
@@ -55,17 +55,17 @@ export default {
}
}
}},
- computed: {
- ...mapGetters([
- 'imagesUploadApi',
- 'baseApi'
- ])
- },
editMode: 'simple',
editor: null,
editValue: null
}
},
+ computed: {
+ ...mapGetters([
+ 'imagesUploadApi',
+ 'baseApi'
+ ])
+ },
watch: {
editValue(newVal, oldVal) {
this.$emit('input', newVal)
diff --git a/eladmin-web/src/store/getters.js b/eladmin-web/src/store/getters.js
index 4b32b51..af5cab1 100644
--- a/eladmin-web/src/store/getters.js
+++ b/eladmin-web/src/store/getters.js
@@ -10,7 +10,6 @@ const getters = {
roles: state => state.user.roles,
user: state => state.user.user,
loadMenus: state => state.user.loadMenus,
- permission_routers: state => state.permission.routers,
addRouters: state => state.permission.addRouters,
imagesUploadApi: state => state.api.imagesUploadApi,
baseApi: state => state.api.baseApi,
diff --git a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/MultipartConfig.java b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/MultipartConfig.java
index 7a5caf4..33b4a93 100644
--- a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/MultipartConfig.java
+++ b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/MultipartConfig.java
@@ -23,7 +23,7 @@ import java.io.File;
/**
* @date 2018-12-28
- * @author https://blog.csdn.net/llibin1024530411/article/details/79474953
+ * @author ...
*/
@Configuration
public class MultipartConfig {
diff --git a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/QueryCustomizer.java b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/QueryCustomizer.java
new file mode 100644
index 0000000..6744e7b
--- /dev/null
+++ b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/QueryCustomizer.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2019-2023 Zheng Jie
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package me.zhengjie.config.webConfig;
+
+import org.apache.catalina.connector.Connector;
+import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer;
+import org.springframework.context.annotation.Configuration;
+
+/**
+ * 允许在查询字符串中使用特定的特殊字符
+ * @author bearBoy80
+ */
+@Configuration(proxyBeanMethods = false)
+public class QueryCustomizer implements TomcatConnectorCustomizer {
+
+ @Override
+ public void customize(Connector connector) {
+ connector.setProperty("relaxedQueryChars", "[]{}");
+ }
+}
diff --git a/eladmin/pom.xml b/eladmin/pom.xml
index 9a0bd26..5a91c6f 100644
--- a/eladmin/pom.xml
+++ b/eladmin/pom.xml
@@ -43,18 +43,6 @@
org.springframework.boot
spring-boot-starter-web
-
-
- org.springframework.boot
- spring-boot-starter-tomcat
-
-
-
-
-
-
- org.springframework.boot
- spring-boot-starter-undertow