@@ -50,7 +50,7 @@ func (m *menu) MenuDelete() error {
res["success"] = mongodb.DelById("jy_topMenu", _id)
}
//清首页缓存
- redis.Del("other", "/")
+ redis.Del("other", menuCahceKey)
m.ServeJson(&res)
return nil
@@ -278,6 +278,10 @@
$(".addCourse").on("click", function () {
window.location.href = "/manage/course/OnLineDetail/add/new"
})
+
+ setTimeout(function() {
+ $('#select2').val(3)
+ }, 100)
});
//点击跳转新页面