xugenyuan
@@ -64,21 +64,16 @@ export struct CommentCustomDialog { @@ -64,21 +64,16 @@ export struct CommentCustomDialog {
64 this.publishCommentModel.commentType = '2' 64 this.publishCommentModel.commentType = '2'
65 commentViewModel.publishComment(this.publishCommentModel).then((model: commentItemModel) => { 65 commentViewModel.publishComment(this.publishCommentModel).then((model: commentItemModel) => {
66 this.publishCommentModel.commentContent = '' 66 this.publishCommentModel.commentContent = ''
67 - //  
68 -  
69 this.publishCommentModel.lastCommentModel = commentViewModel.deepCopyCommentItemModel(model) 67 this.publishCommentModel.lastCommentModel = commentViewModel.deepCopyCommentItemModel(model)
70 // this.commentText = '' 68 // this.commentText = ''
71 - if (this.controller != null) {  
72 - this.controller.close()  
73 - }  
74 if (this.confirm) { 69 if (this.confirm) {
75 this.confirm(bean) 70 this.confirm(bean)
76 } 71 }
77 }).catch(() => { 72 }).catch(() => {
  73 + })
78 if (this.controller != null) { 74 if (this.controller != null) {
79 this.controller.close() 75 this.controller.close()
80 } 76 }
81 - })  
82 } 77 }
83 78
84 build() { 79 build() {