Commit 50643e9e authored by rlgy's avatar rlgy

update

parent eb0f7d01
......@@ -62,6 +62,7 @@ table2.render({
]]
});
form.render();
var index_upload = 0;
upload.render({
elem: '#upload1',
url: '/admin/app/upload',
......@@ -69,9 +70,10 @@ upload.render({
field: 'apk',
data: {_csrf: $('input[name="_csrf"]').val()},
before: function (obj) {
index_upload = layer.load(1);
},
done: function (res) {
layer.close(index_upload);
layer.msg(res.msg);
if (0 == res.code) {
$('input[name="download_url"]').val(res.path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment