Authored by 陈轩

im 留言成功 清空内容

@@ -68,6 +68,7 @@ LeaveMSGView.prototype = $.extend({}, EventEmitter.prototype, { @@ -68,6 +68,7 @@ LeaveMSGView.prototype = $.extend({}, EventEmitter.prototype, {
68 api.leaveMsg(content) 68 api.leaveMsg(content)
69 .done(function() { 69 .done(function() {
70 self.trigger('save.LeaveMSGView', '留言成功,'); 70 self.trigger('save.LeaveMSGView', '留言成功,');
  71 + self.$input.val('');
71 }) 72 })
72 .fail(function() { 73 .fail(function() {
73 self.trigger('save.LeaveMSGView', '留言失败'); 74 self.trigger('save.LeaveMSGView', '留言失败');