|
@@ -75,7 +75,7 @@ export default {
|
|
|
components: {
|
|
|
FreeWriteQP,
|
|
|
},
|
|
|
- props: ["lineColor", "lineWidth", "cur", "wordNum","currentTreeID"],
|
|
|
+ props: ["lineColor", "lineWidth", "cur", "wordNum", "currentTreeID"],
|
|
|
data() {
|
|
|
return {
|
|
|
width: this.wordNum != "2" ? 256 : 256,
|
|
@@ -128,6 +128,12 @@ export default {
|
|
|
let Book_img = res.replace("data:image/png;base64,", "");
|
|
|
this.history.push(this.$refs.esign.history);
|
|
|
this.imgarr.push("data:image/png;base64," + Book_img);
|
|
|
+ let data = {
|
|
|
+ courseware_id: this.currentTreeID,
|
|
|
+ hz: this.cur.stem[0].con,
|
|
|
+ strokes_content: JSON.stringify(this.$refs.esign.history),
|
|
|
+ strokes_image_base64: Book_img,
|
|
|
+ };
|
|
|
this.saveShow = false;
|
|
|
|
|
|
//console.log(Book_img);
|