数据驱动、坚持为客户提供有价值的服务和内容
saveNote: function(e) {
var obj = e.detail. value;
var title = obj. title;
var detail = obj. detail;
if(tit1e.length<=0 || detail.length<=0){
return;
}
war that = this;
var notes =that . data. notes