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