|
@@ -1705,6 +1705,21 @@ export default {
|
|
|
);
|
|
|
} else {
|
|
|
this.unitJson[this.unitIndex].chapterInfo[0].toolChoose.push(i);
|
|
|
+ if (i == 1) {
|
|
|
+ window.parent.postMessage({ tools: "1" }, "*");
|
|
|
+ } else if (i == 2) {
|
|
|
+ window.parent.postMessage({ tools: "2" }, "*");
|
|
|
+ } else if (i == 3) {
|
|
|
+ window.parent.postMessage({ tools: "3" }, "*");
|
|
|
+ } else if (i == 4) {
|
|
|
+ window.parent.postMessage({ tools: "4" }, "*");
|
|
|
+ }
|
|
|
+ // else if(i == 5){
|
|
|
+ // window.parent.postMessage({ tools: "5" }, "*");
|
|
|
+ // }
|
|
|
+ else {
|
|
|
+ window.parent.postMessage({ tools: "6" }, "*");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
this.$forceUpdate();
|
|
@@ -3018,7 +3033,7 @@ ol {
|
|
|
width: 500px !important;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-.notice >>> .el-button{
|
|
|
+.notice >>> .el-button {
|
|
|
margin-top: 20px;
|
|
|
}
|
|
|
</style>
|