|
@@ -1382,7 +1382,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<iframe
|
|
<iframe
|
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
- src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
|
|
|
|
|
|
|
+ :src="iframeSrc"
|
|
|
ref="iiframe"
|
|
ref="iiframe"
|
|
|
v-show="false"
|
|
v-show="false"
|
|
|
></iframe>
|
|
></iframe>
|
|
@@ -1390,7 +1390,7 @@
|
|
|
<!-- 文字转语音-->
|
|
<!-- 文字转语音-->
|
|
|
<iframe
|
|
<iframe
|
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
- src="https://beta.cloud.cocorobo.cn/browser/public/index1.html"
|
|
|
|
|
|
|
+ :src="iframeSrc1"
|
|
|
ref="iiframe2"
|
|
ref="iiframe2"
|
|
|
v-show="false"
|
|
v-show="false"
|
|
|
></iframe>
|
|
></iframe>
|
|
@@ -1530,6 +1530,24 @@ export default {
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
|
|
+ iframeSrc() {
|
|
|
|
|
+ if(this.$region == 'hk') {
|
|
|
|
|
+ return `https://cloud.cocorobo.hk/browser/public/index.html`;
|
|
|
|
|
+ } else if(this.$region == 'com') {
|
|
|
|
|
+ return `https://cloud.cocorobo.com/browser/public/index.html`;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return `https://beta.cloud.cocorobo.cn/browser/public/index.html`;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ iframeSrc1() {
|
|
|
|
|
+ if(this.$region == 'hk') {
|
|
|
|
|
+ return `https://cloud.cocorobo.hk/browser/public/index1.html`;
|
|
|
|
|
+ } else if(this.$region == 'com') {
|
|
|
|
|
+ return `https://cloud.cocorobo.com/browser/public/index1.html`;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return `https://beta.cloud.cocorobo.cn/browser/public/index1.html`;
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
internationalizedToolsList() {
|
|
internationalizedToolsList() {
|
|
|
return {
|
|
return {
|
|
|
58: this.lang.ssToolSimulationDriving,
|
|
58: this.lang.ssToolSimulationDriving,
|