Commit b1a083b5 by wangshuangqing

解决打包问题

parent cacbc7a9
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="utf-8">
<!-- <meta base="/his/"> -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<title>
基于病种精准管理系统
</title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</body>
</html>
\ No newline at end of file
......@@ -15,7 +15,9 @@ import outHistorygrouping from "@/views/outHistorygrouping.vue";
Vue.use(Router);
// const baseUrl = '/his/'
const router = new Router({
// mode: baseUrl,
routes: [{
path: "*",
component: (resolve) => require(["@/components/404.vue"], resolve),
......@@ -40,6 +42,7 @@ const router = new Router({
component: outHistorygrouping,
}
],
// mode: 'history' /*hash*/ /*不显示路由中的#*/
});
//路由跳转前判断(登录权限)
......
......@@ -414,7 +414,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -447,7 +447,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -480,7 +480,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -530,7 +530,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -563,7 +563,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -596,7 +596,7 @@ export default {
padding-left: 10px;
align-items: center;
background-color: #fff;
color: #abafb3;
color: #737581afb3;
font-size: 14px;
margin-left: 29px;
......@@ -927,7 +927,7 @@ export default {
font-size: 18px;
font-family: PingFang SC;
font-weight: 400;
color: #abafb3;
color: #737581afb3;
}
}
}
......
......@@ -12,6 +12,8 @@ function resolve(dir) {
}
module.exports = {
publicPath: "./", //导出路径
assetsDir: "web", //静态资源文件夹
productionSourceMap: false,
devServer: { //测试环境代理
port: 8066, //测试端口
......
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