Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
c33fe93a
Commit
c33fe93a
authored
Oct 11, 2019
by
铭飞
Committed by
Gitee
Oct 11, 2019
Browse files
!188 修复默认主页问题
Merge pull request !188 from 灰色DT/4.7.2
parents
9b3d486e
7161b213
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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