|
|
@@ -1362,6 +1362,7 @@ export default {
|
|
|
let _toolList = JSON.parse(JSON.stringify(this.pptCourseJson.toolsList));
|
|
|
//把toolList挂载到window上
|
|
|
window.pptToolList = _toolList;
|
|
|
+ this.loadPPTToolList();
|
|
|
},
|
|
|
goTo(path) {
|
|
|
this.$router.push(path);
|
|
|
@@ -2134,6 +2135,18 @@ export default {
|
|
|
openToolDialog(){
|
|
|
this.$refs.InteractiveToolDialogRef.open();
|
|
|
},
|
|
|
+ loadPPTToolList(){
|
|
|
+ let _pptIframe = this.$refs.pptIframeRef;
|
|
|
+ if (
|
|
|
+ _pptIframe &&
|
|
|
+ _pptIframe.contentWindow &&
|
|
|
+ _pptIframe.contentWindow.window &&
|
|
|
+ typeof _pptIframe.contentWindow.window.loadContentList === "function"
|
|
|
+ ){
|
|
|
+ _pptIframe.contentWindow.window.loadContentList();
|
|
|
+ this.$message.success("添加成功");
|
|
|
+ }
|
|
|
+ },
|
|
|
//添加工具
|
|
|
addTool(tool) {
|
|
|
if (tool == 45) {
|