2
0
mirror of https://github.com/MCSManager/MCSManager.git synced 2025-03-31 17:00:24 +08:00

优化代码

This commit is contained in:
suwings 2018-01-24 17:44:39 +08:00
parent 19100fecc6
commit 8419bcc4fb
8 changed files with 3277 additions and 31 deletions

@ -135,26 +135,26 @@
<!--Js文件引用顺序不能乱所有js都是依赖于前js的-->
<script src="./common/jquery-3.2.1.min.js"></script>
<script src="common/jquery-3.2.1.min.js"></script>
<!--vue-->
<script type="text/javascript" src="./common/vue/vue.min.js"></script>
<script type="text/javascript" src="common/vue/vue.min.js"></script>
<!--公用的js方法公用的函数模式-->
<!-- 全局变量 MI(中介者) MS(保留) MCSERVER(全局寄生器)-->
<script type="text/javascript" src="./common/js/common.js"></script>
<script type="text/javascript" src="common/js/common.js"></script>
<!--URL 处理函数-->
<script type="text/javascript" src="common/URL.js"></script>
<!--请求类相关方法 全局变量 RES(请求) PAGE(单页应用临时全局存储变量)-->
<script type="text/javascript" src="./common/js/response.js"></script>
<script type="text/javascript" src="common/js/response.js"></script>
<!--Websocket 封装类 全局变量 WS -->
<script type="text/javascript" src="./common/js/websocket.js"></script>
<script type="text/javascript" src="common/js/websocket.js"></script>
<!--工具类 全局变量 TOOLS(工具xiang)-->
<script type="text/javascript" src="./common/js/tools.js"></script>
<script type="text/javascript" src="common/js/tools.js"></script>
<!--首页菜单获取 虚拟的后端菜单数据-->
<script type="text/javascript" src="common/js/meum.js"></script>
<!--echarts 库 -->
<script type="text/javascript" src="common/echarts.js"></script>
<!--Vue.data 数据模型处理 全局变量 VIEW_MODEL-->
<script type="text/javascript" src="./common/js/viewmodel.js"></script>
<script type="text/javascript" src="common/js/viewmodel.js"></script>
<!--图像统计表格封装 附属于 TOOLS 变量-->
<script type="text/javascript" src="common/js/chart.js"></script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -47,7 +47,7 @@
<!--URL 处理函数-->
<script type="text/javascript" src="../common/URL.js"></script>
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>
<script type="text/javascript" src="static/es6-promise.auto.min.js"></script>
<script type="text/javascript" src="static/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="dist/app.js"></script>
</body>

@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dist": "webpack"
},
"author": "",
"license": "ISC",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,12 @@
文件在线管理源码是一个相对独立的系统
-------
所以你可能不能像原先的代码更改那样直接更改并且直接运行。
你需要:
1. Nodejs 环境
2. npm install 安装依赖
3. webpack 工具打包
具体说明请参照: https://github.com/Suwings/IndependentFileManager