Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
c33fe93a
Commit
c33fe93a
authored
Oct 11, 2019
by
铭飞
Committed by
Gitee
Oct 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
!188 修复默认主页问题
Merge pull request !188 from 灰色DT/4.7.2
parents
9b3d486e
7161b213
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
WebConfig.java
src/main/java/net/mingsoft/config/WebConfig.java
+1
-0
index.htm
src/main/webapp/templets/1/default/index.htm
+7
-7
No files found.
src/main/java/net/mingsoft/config/WebConfig.java
View file @
c33fe93a
...
...
@@ -150,6 +150,7 @@ public class WebConfig implements WebMvcConfigurer {
FilterRegistrationBean
registration
=
new
FilterRegistrationBean
(
xssFilter
);
xssFilter
.
excludes
.
add
(
".*file/upload.do"
);
xssFilter
.
excludes
.
add
(
".*/jsp/editor.do"
);
xssFilter
.
excludes
.
add
(
"/"
);
registration
.
addUrlPatterns
(
"/*"
);
return
registration
;
}
...
...
src/main/webapp/templets/1/default/index.htm
View file @
c33fe93a
...
...
@@ -6,10 +6,10 @@
<script
type=
"text/javascript"
src=
"{ms:global.host/}/plugins/bootstrap/3.3.5/js/bootstrap.min.js"
></script>
<script>
var
ms
=
{
base
:
"http://
m
store.mingsoft.net"
base
:
"http://store.mingsoft.net"
}
</script>
<script
src=
"http://
m
store.mingsoft.net/api/ms.web.mstore.js"
></script>
<script
src=
"http://store.mingsoft.net/api/ms.web.mstore.js"
></script>
</head>
<body>
...
...
@@ -65,11 +65,11 @@
<template
v-for=
"model in modelList"
>
<div
class=
"ms-model-list"
>
<a
class=
"ms-model-img"
:href=
"model.upgraderVersionUrl"
target=
"_blank"
>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://
m
store.mingsoft.net/'+model.upgraderVersionImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.upgraderVersionImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
</a>
<div
class=
"ms-model-mobile-img"
v-if=
"model.upgraderVersionMobileImg != '' && model.upgraderVersionMobileImg != undefined"
style=
"background: url({ms:global.host/}/{ms:global.style/}/images/mobile.png)"
>
<div>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://
m
store.mingsoft.net/'+model.upgraderVersionMobileImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
<img
@
mouseout=
"imgMout()"
@
mouseover=
"imgMover()"
:src=
"'http://store.mingsoft.net/'+model.upgraderVersionMobileImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
</div>
</div>
<div
class=
"ms-model-info"
>
...
...
@@ -82,7 +82,7 @@
</template>
<div
class=
"ms-model-list"
style=
"display: none;"
v-show=
"loading"
>
<div
class=
"ms-model-more"
>
<div
onclick=
"window.open('http://
m
store.mingsoft.net/mstoreShow.do')"
>
查看更多
</div>
<div
onclick=
"window.open('http://store.mingsoft.net/mstoreShow.do')"
>
查看更多
</div>
</div>
</div>
</div>
...
...
@@ -92,7 +92,7 @@
<template
v-for=
"pulg in pulgList"
>
<div
class=
"ms-model-list"
>
<a
class=
"ms-model-img"
:href=
"pulg.upgraderVersionUrl"
target=
"_blank"
>
<img
:src=
"'http://
m
store.mingsoft.net/'+pulg.upgraderVersionImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
<img
:src=
"'http://store.mingsoft.net/'+pulg.upgraderVersionImg"
onerror=
"this.src='{ms:global.host/}/{ms:global.style/}/images/no-data.png'"
/>
</a>
<div
class=
"ms-model-info"
>
<span
v-text=
"pulg.upgraderVersionName"
></span>
...
...
@@ -104,7 +104,7 @@
</template>
<div
class=
"ms-model-list"
style=
"display: none;"
v-show=
"loading"
>
<div
class=
"ms-model-more"
>
<div
onclick=
"window.open('http://
m
store.mingsoft.net/mstoreShow.do')"
>
查看更多
</div>
<div
onclick=
"window.open('http://store.mingsoft.net/mstoreShow.do')"
>
查看更多
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment