|
@@ -126,7 +126,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
data: {file: data.url},
|
|
data: {file: data.url},
|
|
}, function (data, ret) {
|
|
}, function (data, ret) {
|
|
if (ret.code==1) {
|
|
if (ret.code==1) {
|
|
- window.location.reload()//解析成功
|
|
|
|
|
|
+ layer.msg(ret.msg,{icon:1,time:2000,shade:0.4},function() {
|
|
|
|
+ window.location.reload()//解析成功
|
|
|
|
+ });
|
|
}
|
|
}
|
|
//table.bootstrapTable('refresh');
|
|
//table.bootstrapTable('refresh');
|
|
},
|
|
},
|