|
@@ -1205,11 +1205,11 @@ export default {
|
|
|
getImg() {
|
|
|
var iframeHtml;
|
|
|
let iframeBody;
|
|
|
- if (this.toolsList[0].tools[this.howTools] == 1) {
|
|
|
+ if (toolCount == 1) {
|
|
|
iframeHtml = this.$refs.whiteBoard;
|
|
|
- } else if (this.toolsList[0].tools[this.howTools] == 3) {
|
|
|
+ } else if (toolCount == 3) {
|
|
|
iframeHtml = this.$refs.mind;
|
|
|
- } else if (this.toolsList[0].tools[this.howTools] == 7) {
|
|
|
+ } else if (toolCount == 7) {
|
|
|
iframeHtml = this.$refs.grid;
|
|
|
}
|
|
|
iframeBody = iframeHtml.contentWindow.document.body;
|