Pārlūkot izejas kodu

返回旧版添加hk

11wqe1 3 nedēļas atpakaļ
vecāks
revīzija
6d363bb630
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/views/HomeView.vue
  2. 2 0
      src/views/login/loginPage.vue

+ 2 - 0
src/views/HomeView.vue

@@ -222,6 +222,8 @@ export default {
 				console.log(this.$region);
 				if (this.$region == 'beta') {
 					window.topU.location.href = 'https://beta.cloud.cocorobo.cn/index.html'
+				}else if(this.$region == 'hk'){
+					window.topU.location.href = 'https://cloud.cocorobo.hk/'
 				}else{
 					window.topU.location.href = 'https://cloud.cocorobo.cn/index.html'
 				}

+ 2 - 0
src/views/login/loginPage.vue

@@ -419,6 +419,8 @@ export default {
 				console.log(this.$region);
 				if (this.$region == 'beta') {
 					window.topU.location.href = 'https://beta.cloud.cocorobo.cn/index.html'
+				}else if(this.$region == 'hk'){
+					window.topU.location.href = 'https://cloud.cocorobo.hk/'
 				}else{
 					window.topU.location.href = 'https://cloud.cocorobo.cn/index.html'
 				}