hejie 3 gadi atpakaļ
vecāks
revīzija
0e8e682613
1 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 6 3
      src/pages/course/index.vue

+ 6 - 3
src/pages/course/index.vue

@@ -24,9 +24,12 @@ import jyfParser from '@/components/jyf-parser/jyf-parser.vue'
 		},
 		methods:{
 			loadData(){
-				post("ShuZiTeaYW/shop/newTutorial").then(res => {
-				  if (res.status == 200) {
-				    this.content = res.data.content
+				let data = {
+					type:3
+				}
+				post("/my/article",data).then(res => {
+				  if (res.code == 0) {
+				    this.content = res.data.data.content
 					console.log(this.content)
 				    // this.BannerImg = res.list;
 				  }