mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Merge branch 'v6' of https://github.com/zoujingli/ThinkAdmin into v6
This commit is contained in:
commit
f471835e51
@ -58,6 +58,7 @@
|
||||
$.form.load('{:url("remove")}', {value: 0, field: 'delete', id: that.getAttribute('data-news-del')}, 'post', function (ret) {
|
||||
if (ret.code) {
|
||||
$(that).parents('.news-item').remove();
|
||||
msnry = new Masonry(item, {itemSelector: '.news-item', columnWidth: 0});
|
||||
return $.msg.success(ret.msg), msnry.layout(), false;
|
||||
}
|
||||
return $.msg.error(ret.msg), false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user