import{C as r}from"./course-disscuss.4aaeee1b.js";import{c as n}from"./my-course.a3711b76.js";import{n as a}from"./vueComponentNormalizer.9ef17bb1.js";import"./index.51e15757.js";var i=function(){var e=this,o=e.$createElement,s=e._self._c||o;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[e.loading?e._e():s("CourseDisscuss",{attrs:{nowCheckCourse:e.nowCheckCourse}})],1)},c=[];const u={activated(){console.log(this.$route,this.$route.params.courseId),this.editorCourse(this.$route.params.courseId)},components:{CourseDisscuss:r},data:e=>({nowCheckCourse:{},loading:!1}),methods:{async editorCourse(e){try{this.loading=!0,this.nowCheckCourse={};const o=await n(e);if(o.code!==0)throw"\u83B7\u53D6\u8BFE\u7A0B\u8BE6\u60C5\u5931\u8D25";this.nowCheckCourse=o.data}catch(o){this.$message.error(o.toString())}this.loading=!1}}},t={};var l=a(u,i,c,!1,d,null,null,null);function d(e){for(let o in t)this[o]=t[o]}const p=function(){return l.exports}();export{p as default};
