|
|
@@ -2842,10 +2842,23 @@ export default {
|
|
|
},
|
|
|
// 动态生成PPT iframe的URL
|
|
|
pptIframeUrl() {
|
|
|
- const baseUrl = this.isBetaEnv
|
|
|
- ? 'https://beta.ppt.cocorobo.cn'
|
|
|
- : 'https://ppt.cocorobo.cn';
|
|
|
- return `${baseUrl}/?mode=editor&courseid=${this.cid}`;
|
|
|
+
|
|
|
+ let ppturl = "https://beta.ppt.cocorobo.cn"
|
|
|
+ if (this.isBetaEnv) {
|
|
|
+ ppturl = "https://beta.ppt.cocorobo.cn"
|
|
|
+ } else if (this.lang.lang == 'com') {
|
|
|
+ ppturl = 'https://ppt.cocorobo.com'
|
|
|
+ } else if (this.lang.lang == 'hk') {
|
|
|
+ ppturl = 'https://ppt.cocorobo.hk'
|
|
|
+ } else {
|
|
|
+ ppturl = 'https://ppt.cocorobo.cn'
|
|
|
+ }
|
|
|
+ return `${ppturl}/?mode=editor&courseid=${this.cid}`;
|
|
|
+
|
|
|
+ // const baseUrl = this.isBetaEnv
|
|
|
+ // ? 'https://beta.ppt.cocorobo.cn'
|
|
|
+ // : 'https://ppt.cocorobo.cn';
|
|
|
+ // return `${baseUrl}/?mode=editor&courseid=${this.cid}`;
|
|
|
},
|
|
|
// 获取已选择的授课班级名称
|
|
|
selectedGradeName() {
|