Commit 92e1773b authored by 季圣华's avatar 季圣华
Browse files

调整静态文件的目录

parent b6dac633
......@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title></title>
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="<%= BASE_URL %>static/favicon.ico">
<style>
html,
body,
......
......@@ -64,7 +64,7 @@ const updateTheme = primaryColor => {
const lessConfigNode = document.createElement('script');
const lessScriptNode = document.createElement('script');
lessStyleNode.setAttribute('rel', 'stylesheet/less');
lessStyleNode.setAttribute('href', '/color.less');
lessStyleNode.setAttribute('href', '/static/color.less');
lessConfigNode.innerHTML = `
window.less = {
async: true,
......@@ -72,7 +72,7 @@ const updateTheme = primaryColor => {
javascriptEnabled: true
};
`;
lessScriptNode.src = '/less.min.js';
lessScriptNode.src = '/static/less.min.js';
lessScriptNode.async = true;
lessScriptNode.onload = () => {
buildIt();
......
......@@ -4,7 +4,6 @@
:width="modalWidth"
:visible="visible"
:confirmLoading="confirmLoading"
@ok="handleOk"
@cancel="handleCancel"
cancelText="关闭"
style="top:20%;height: 60%;overflow-y: hidden">
......
Supports Markdown
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