重新编译前端于生产版本

This commit is contained in:
suwings 2018-02-06 12:23:34 +08:00
parent 0cb5a591db
commit 95f84cbf56
6 changed files with 7 additions and 14577 deletions

View File

@ -1,39 +0,0 @@
//删除
let x = {
//commande: "rm", 并不需要这个参数,发送不同路由即可
stack: [{
name: xxx,
isFile: true
}, {
name: xxx,
isFile: false
}]
}
//服务端 Session 记录已复制到缓冲区的文件
let c = {
//commande: "cp",
stack: [
[{
name: xxx,
isFile: true
}, {
name: xxx,
isFile: false
}]
]
}
//粘贴
let cww = {
//commande: "paste",
}
//File 文件格式
let file = {
name: "xxxx.xx",
isFile: false,
size: 132.23, //MB
time: "", //创建时间
info: "xxxxxxx" //info
}

View File

@ -30,7 +30,7 @@ class Ajax {
if (typeof this.parameter['data'] == "object")
this.parameter['data'] = JSON.stringify(this.parameter['data']);
console.log("发起 Ajax:", this.parameter['url'], "数据:" + this.parameter.data);
if (DEBUG) console.log("发起 Ajax:", this.parameter['url'], "数据:" + this.parameter.data);
$.ajax({
type: this.parameter['type'] || "POST",
url: encodeURI(this.parameter['url']),
@ -42,7 +42,6 @@ class Ajax {
that.success(data);
},
error: function (XML, textStatus, errorThrown) {
console.log("error: function (XML, textStatus, errorThrown) {")
that.error(XML, textStatus, errorThrown);
},
cache: this.parameter['cache'] || false

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,7 @@
<!--URL 处理函数-->
<script type="text/javascript" src="../common/URL.js"></script>
<!-- <script type="text/javascript" src="static/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>

View File

@ -33,8 +33,8 @@ module.exports = {
exclude: /node_modules/
}
]
}
// plugins: [
// new uglify()
// ]
},
plugins: [
new uglify()
]
}