|
|
@@ -4,7 +4,7 @@
|
|
|
<!-- 录音转文字 -->
|
|
|
<iframe
|
|
|
allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
- src="https://beta.cloud.cocorobo.cn/browser/public/index.html"
|
|
|
+ :src="iframeSrc"
|
|
|
ref="iiframe"
|
|
|
v-show="false"
|
|
|
></iframe>
|
|
|
@@ -163,6 +163,17 @@ export default {
|
|
|
recordingEndTime: "", // 结束录音时间
|
|
|
};
|
|
|
},
|
|
|
+ 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`;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
goTo(path) {
|
|
|
this.$router.push(path);
|