|
|
@@ -2843,12 +2843,14 @@ export default {
|
|
|
// 动态生成PPT iframe的URL
|
|
|
pptIframeUrl() {
|
|
|
|
|
|
- let ppturl = "https://beta.ppt.cocorobo.cn"
|
|
|
- if (this.lang.lang == 'com') {
|
|
|
+ let ppturl = ""
|
|
|
+ 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 if (this.lang.lang == 'cn'){
|
|
|
+ } else {
|
|
|
ppturl = 'https://ppt.cocorobo.cn'
|
|
|
}
|
|
|
return `${ppturl}/?mode=editor&courseid=${this.cid}`;
|