Commit 536101d7 authored by IvyXia123's avatar IvyXia123

提交

parent 54826161
......@@ -517,7 +517,7 @@
lessonData.classID=this.classID;
lessonData.nowTime = Date.parse(new Date());
lessonData.course_title =this.secActions.course_title
// console.log(lessonData)
console.log(lessonData, 8787)
localStorage.setItem('lessonDetail',JSON.stringify(lessonData));
// console.log(query)
// debugger
......@@ -562,6 +562,7 @@
getLessonDetailApi(this.secActions.id,data.id,data.ele_id).then(res=>{
res.content = JSON.parse(res.content);
this.thisLesson = res;
console.log(this.thisLesson, 8787)
this.thisLesson.id = data.ele_id.toString();
this.thisLesson.categoryId = data.id;
this.thisLesson.domTitle = data.name;
......
......@@ -449,18 +449,16 @@
scale: 2,
letterRendering: true,
useCORS: true,
logging: true
})
.then(canvas => {
logging: true,
autoSize:true
}).then(canvas => {
setTimeout(() => {
this.animationBg = true;
},500)
let dataURL = canvas.toDataURL("image/jpg", 1.0);
var dataURL = canvas.toDataURL("image/jpg", 1.0);
this.canvasData = dataURL;
})
.catch(res => {
alert(res);
console.log();
});
}
});
......
......@@ -413,6 +413,7 @@
getLessonDetailApi(dataObj.periods_id, dataObj.id, dataObj.ele_id).then(res=>{
res.content = JSON.parse(res.content);
this.thisLesson = res;
localStorage.setItem('lessonDetail',JSON.stringify(res));
this.thisLesson.id = dataObj.ele_id.toString();
this.thisLesson.categoryId = dataObj.id;
this.thisLesson.domTitle = dataObj.name;
......
......@@ -14,6 +14,7 @@ axios.defaults.baseURL = '';
//http request 拦截器
axios.interceptors.request.use(
config => {
console.log(config)
// 获取token
// process.env.versionTime
let versiontime = '09021400';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment