调整静态文件的目录
This commit is contained in:
2
jshERP-web/public/index.html
vendored
2
jshERP-web/public/index.html
vendored
@@ -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,
|
||||
|
||||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user