mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改图文编辑删除功能
This commit is contained in:
parent
e46789f800
commit
84cf7a9bbc
@ -244,7 +244,8 @@
|
||||
|
||||
/*! 删除操作图文 */
|
||||
$body.off('click', '.upload-multiple-close').on('click', '.upload-multiple-close', function () {
|
||||
$(this).parents('.news-item').remove();
|
||||
var $box = $(this).parents('.news-item');
|
||||
$box.add($box.next('hr')).remove();
|
||||
$('.news-item').size() < 7 && $('.news-box .article-add').show();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user