状态不宜作为表维护,,因为有些是程序写死的,用枚举比较合适
bootstarp-tag
, 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 }