text: webpackJsonp([13],{"Z/ta":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("Xxa5"),a=n.n(r),s=n("exGp"),i=n.n(s),c=n("Dd8w"),o=n.n(c),l=n("NYxO"),u={name:"list",data:function(){return{comment_id:this.$route.params.comment_id,list:[],columns:[{title:"ID",key:"id",width:80,align:"center"},{title:"评论人昵称",key:"nickname"},{title:"评论人邮箱",key:"email"},{title:"评论内容",key:"content"},{title:"Action",slot:"action",width:200,align:"center"}]}},created:function(){this.fetchData()},methods:o()({},Object(l.b)({getReplyList:"reply/list",destroyReply:"reply/destroy"}),{fetchData:function(){var t=this;return i()(a.a.mark(function e(){var n;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getReplyList({comment_id:t.comment_id});case 2:n=e.sent,t.list=n.data.data;case 4:case"end":return e.stop()}},e,t)}))()},reply:function(){},destroy:function(t){var e,n=this;this.$Modal.confirm({title:"提示",content:"<p>确定删除此回复评论吗？</p>",loading:!0,onOk:(e=i()(a.a.mark(function e(){return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.destroyReply(t);case 3:n.$Message.success("删除成功"),n.fetchData(),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),n.$Message.error(e.t0);case 10:return e.prev=10,n.$Modal.remove(),e.finish(10);case 13:case"end":return e.stop()}},e,n,[[0,7,10,13]])})),function(){return e.apply(this,arguments)}),onCancel:function(){n.$Message.warning("取消！")}})}})},d={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[0===t.list.length?n("div",{staticClass:"empty"},[t._v("\n    暂无回复\n  ")]):t._e(),t._v(" "),t.list.length>0?n("section",[n("Table",{attrs:{border:"",columns:t.columns,data:t.list},scopedSlots:t._u([{key:"name",fn:function(e){var r=e.row;return[n("strong",[t._v(t._s(r.name))])]}},{key:"action",fn:function(e){var r=e.row;return e.index,[n("Button",{attrs:{type:"error",size:"small"},on:{click:function(e){return t.destroy(r.id)}}},[t._v("删除")])]}}],null,!1,61885061)})],1):t._e()])},staticRenderFns:[]};var f=n("VU/8")(u,d,!1,function(t){n("fHhj")},"data-v-09c1163a",null);e.default=f.exports},fHhj:function(t,e){}});
  //# sourceMappingURL=13.5d636347c9b0eb234fc6.js.map