状态不宜做为表维护,,由于有些是程序写死的,用枚举比较合适this
bootstarp-tagspa
, process: function () {
---------------------注释此处,只有查询出来得数据能够录入! ////var values = $.grep($.map(this.input.val().split(','), $.trim), function ( value ) { return value.length > 0 }), //// that = this ////console.log('==================='); ////console.log(values); ////$.each(values, function () { //// that.add(this) ////}) this.input.val('') } , skip: false }