前台:
// 重置 和 保存 按钮.
buttons: [{
text: '重置',
handler: function() {
this.up('form').getForm().reset();
}
}, {
text: '保存',
/*formBind: true, //only enabled once the form is valid
disabled: false,*/
handler: function() {
console.log("点击保存");