修复分类锁的bug

This commit is contained in:
2026-05-29 23:41:58 +08:00
parent 26e42dd2a4
commit 5abb8277e3
11 changed files with 251 additions and 28 deletions
+9 -1
View File
@@ -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);
}