加入帖子可设置"私密"

This commit is contained in:
2018-06-03 00:22:23 +08:00
parent 4f89821e4e
commit 7e7f1c2b3c
9 changed files with 55 additions and 24 deletions

View File

@@ -237,7 +237,7 @@ layui.define(['fly','laypage'], function(exports){
form.on('submit(jie-add)', function(data){
var bean = {};
["contentId","title", "content", "type"].forEach(function (value) {
["contentId","title", "content", "type", "status"].forEach(function (value) {
bean[value] = data.field[value];
});
bean["content"] = editor.txt.html();