Selaa lähdekoodia

5.2.4代发布

mingsoft 4 vuotta sitten
vanhempi
commit
f2b0c101f9

+ 10 - 13
pom.xml

@@ -10,7 +10,7 @@
     <modelVersion>4.0.0</modelVersion>
     <groupId>net.mingsoft</groupId>
     <artifactId>ms-mcms</artifactId>
-    <version>5.2.3</version>
+    <version>5.2.4</version>
     <name>ms-mcms</name>
     <!-- 打包war包 -->
     <!--    <packaging>war</packaging>-->
@@ -44,48 +44,42 @@
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-base</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
         </dependency>
         <!--base源码-->
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-base</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
             <classifier>sources</classifier>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-basic</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
         </dependency>
         <!--basic源码-->
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-basic</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
             <classifier>sources</classifier>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-mdiy</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
         </dependency>
         <!--mdiy源码-->
         <dependency>
             <groupId>net.mingsoft</groupId>
             <artifactId>ms-mdiy</artifactId>
-            <version>2.1.7</version>
+            <version>2.1.8</version>
             <classifier>sources</classifier>
             <scope>provided</scope>
         </dependency>
-        <!--store入口依赖(源码不开发),如果不需要MStore可以直接去掉依赖-->
-        <dependency>
-            <groupId>net.mingsoft</groupId>
-            <artifactId>store-client</artifactId>
-            <version>2.1.7.1</version>
-        </dependency>
 
     </dependencies>
 
@@ -115,11 +109,13 @@
             </resource>
         </resources>
         <plugins>
+
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <configuration>
                     <executable>true</executable>
+                     <fork>true</fork>
                 </configuration>
             </plugin>
             <plugin>
@@ -145,6 +141,7 @@
                     </dependency>
                 </dependencies>
             </plugin>
+
         </plugins>
         <defaultGoal>compile</defaultGoal>
     </build>

+ 0 - 3
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl

@@ -317,7 +317,6 @@
         background-color:#FFFFFF;
         flex-direction:column;
         display:flex;
-        justify-content:end;
         margin: 12px 6px 12px 12px;
         animation-duration:1s;
         width:100%;
@@ -465,7 +464,6 @@
         background-color:#FFFFFF;
         flex-direction:column;
         display:flex;
-        justify-content:end;
         margin: 12px 6px;
         animation-duration:1s;
         width:100%;
@@ -610,7 +608,6 @@
         background-color:#FFFFFF;
         flex-direction:column;
         display:flex;
-        justify-content:end;
         margin: 12px 12px 12px 6px;
         animation-duration:1s;
         width:100%;

+ 1 - 4
src/main/webapp/static/plugins/ms/1.0.0/ms.http.js

@@ -42,13 +42,10 @@
                     msg = "客户端错误";
                 } else if (error.response.status == 403) {
                     msg = "您的权限不足";
-                } else if (error.response.status == 404) {
-                    msg = "请求不存在";
                 } else if (error.response.status == 423) {
                     msg = "账号被锁定!";
                 } else if (error.response.status == 500) {
                     msg = "服务器异常";
-
                 } else if (error.response.status == 501) {
                     msg = "您的操作被取消或不允许提交";
                 } else if (error.response.status == 423) {
@@ -57,7 +54,7 @@
                 if(error.response.data && error.response.data.msg) {
                     msg = error.response.data.msg;
                 }
-                if (msg) {
+                if (msg && error.response.status != 404) {
                     var tempVue = document.createElement('div');
                     tempVue.id = "tempVue";
                     document.body.appendChild(tempVue)