Commit 11b45721 authored by Liyuan Li's avatar Liyuan Li

🐛 fix #116

parent b96d45d4
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -108,6 +108,7 @@ admin.themeList = { ...@@ -108,6 +108,7 @@ admin.themeList = {
cache: false, cache: false,
data: JSON.stringify(requestJSONObject), data: JSON.stringify(requestJSONObject),
success: function (result, textStatus) { success: function (result, textStatus) {
sessionStorage.removeItem('skin')
$('#tipMsg').text(result.msg) $('#tipMsg').text(result.msg)
if (!result.sc) { if (!result.sc) {
$('#loadMsg').text('') $('#loadMsg').text('')
......
...@@ -318,6 +318,9 @@ window.Util = { ...@@ -318,6 +318,9 @@ window.Util = {
}) })
}, },
skinPreview: () => { skinPreview: () => {
if (location.pathname === '/admin-index.do') {
return
}
const skinParam = location.search.split('skin=') const skinParam = location.search.split('skin=')
let skin = '' let skin = ''
let urlHasSkin = false let urlHasSkin = false
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment