mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-30 15:19:32 +08:00
重新编译前端于生产版本
This commit is contained in:
parent
0cb5a591db
commit
95f84cbf56
@ -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
|
||||
}
|
@ -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
|
||||
|
14531
public/onlinefs_public/dist/app.js
vendored
14531
public/onlinefs_public/dist/app.js
vendored
File diff suppressed because one or more lines are too long
1
public/onlinefs_public/dist/app.js.map
vendored
1
public/onlinefs_public/dist/app.js.map
vendored
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 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>
|
||||
|
@ -33,8 +33,8 @@ module.exports = {
|
||||
exclude: /node_modules/
|
||||
}
|
||||
]
|
||||
}
|
||||
// plugins: [
|
||||
// new uglify()
|
||||
// ]
|
||||
},
|
||||
plugins: [
|
||||
new uglify()
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user