This commit is contained in:
2017-12-07 00:25:08 +08:00
parent 92d3f7a49e
commit b94ad367d9
7 changed files with 96 additions and 31 deletions

View File

@@ -233,7 +233,7 @@ layui.define('fly', function(exports){
form.on('submit(jie-add)', function(data){
var bean = {};
["contentId","title", "content", "cate"].forEach(function (value) {
["contentId","title", "content", "type"].forEach(function (value) {
bean[value] = data.field[value];
});
console.log(bean);