|
|
@@ -55,7 +55,7 @@
|
|
|
<!-- 录音转文字 -->
|
|
|
<iframe
|
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
- src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
|
|
|
+ :src="iframeUrl"
|
|
|
ref="iframeRef"
|
|
|
v-show="false"
|
|
|
></iframe>
|
|
|
@@ -89,6 +89,17 @@ export default {
|
|
|
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ iframeUrl() {
|
|
|
+ if (this.lang.lang == 'com') {
|
|
|
+ return `https://cloud.cocorobo.com/browser/public/index.html`;
|
|
|
+ }else if(this.lang.lang == 'hk'){
|
|
|
+ return `https://cloud.cocorobo.hk/browser/public/index.html`;
|
|
|
+ }else{
|
|
|
+ return `https://cloud.cocorobo.cn/browser/public/index.html`;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
watch: {
|
|
|
work: {
|
|
|
deep: true,
|