xugenyuan
... ... @@ -64,21 +64,16 @@ export struct CommentCustomDialog {
this.publishCommentModel.commentType = '2'
commentViewModel.publishComment(this.publishCommentModel).then((model: commentItemModel) => {
this.publishCommentModel.commentContent = ''
//
this.publishCommentModel.lastCommentModel = commentViewModel.deepCopyCommentItemModel(model)
// this.commentText = ''
if (this.controller != null) {
this.controller.close()
}
if (this.confirm) {
this.confirm(bean)
}
}).catch(() => {
})
if (this.controller != null) {
this.controller.close()
}
})
}
build() {
... ...