修复分类锁的bug
This commit is contained in:
Vendored
+9
-1
@@ -64,7 +64,15 @@
|
||||
}, function (res) {
|
||||
if (res.code === 200) {
|
||||
layer.close(index);
|
||||
window.location.reload();
|
||||
|
||||
res.data.key = group.key;
|
||||
res.data.is_group_locked = 0;
|
||||
goodsMsg[group.key] = res.data;
|
||||
|
||||
laytpl(cateTpl).render(res.data, function (html) {
|
||||
$('.cate-box').eq(group.key).replaceWith(html);
|
||||
});
|
||||
changeCate(group.key, true);
|
||||
} else {
|
||||
layer.msg(res.msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user