浏览代码

前端变量优化

ms group dev 6 年之前
父节点
当前提交
a6006152e5
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 0
      src/main/webapp/WEB-INF/manager/include/head-file.ftl
  2. 3 1
      src/main/webapp/WEB-INF/manager/login.ftl

+ 1 - 0
src/main/webapp/WEB-INF/manager/include/head-file.ftl

@@ -41,6 +41,7 @@
     <script>
         ms.base = "${base}";
         ms.manager = "${managerPath}";
+        ms.web = ms.base;
 
         // ms.base = "http://192.168.0.54:85";
         // ms.manager = "http://192.168.0.54:85/apis/ms";

+ 3 - 1
src/main/webapp/WEB-INF/manager/login.ftl

@@ -5,9 +5,11 @@
       <title></title>
       <#include "/include/head-file.ftl"/>
       <link rel="stylesheet" href="${base}/static/ms-admin/4.7.0/css/login.css">
-
+	  
+	  <!--
       <!--#include virtual="include/head-file.ftl" -->
       <link rel="stylesheet" href="../../../static/ms-admin/4.7.0/css/login.css">
+      -->
    </head>
 
    <body>