|
@@ -213,12 +213,20 @@ export default {
|
|
|
},
|
|
|
// 返回旧版本
|
|
|
backVersion(){
|
|
|
- console.log(this.$region);
|
|
|
- if (this.$region == 'beta') {
|
|
|
- window.topU.location.href = 'https://beta.cloud.cocorobo.cn/index.html'
|
|
|
- }else{
|
|
|
- window.topU.location.href = 'https://cloud.cocorobo.cn/index.html'
|
|
|
- }
|
|
|
+ this.$confirm(this.lang.backoldversion, this.lang.tip, {
|
|
|
+ confirmButtonText: this.lang.confirm,
|
|
|
+ cancelButtonText: this.lang.Cancel,
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ console.log(this.$region);
|
|
|
+ if (this.$region == 'beta') {
|
|
|
+ window.topU.location.href = 'https://beta.cloud.cocorobo.cn/index.html'
|
|
|
+ }else{
|
|
|
+ window.topU.location.href = 'https://cloud.cocorobo.cn/index.html'
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
},
|
|
|
// 打开平台应用工具
|
|
|
AddAppJson(val) {
|