Browse Source

优化地址

lex-wxl 1 day ago
parent
commit
0a4e79785b
2 changed files with 6 additions and 6 deletions
  1. 3 3
      index.html
  2. 3 3
      src/views/login/index.tsx

+ 3 - 3
index.html

@@ -106,15 +106,15 @@
       var isMac = function () { return /macintosh|mac os x/i.test(navigator.userAgent); }();
       if (agent.indexOf("win32") >= 0 || agent.indexOf("wow32") >= 0) {
         // window.open('https://oss.dayaedu.com/appstore/ChromeStandaloneSetup32.exe');
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
       if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) {
         // window.open('https://oss.dayaedu.com/appstore/ChromeStandaloneSetup64.exe');
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
       if (isMac) {
         // window.open('https://oss.dayaedu.com/appstore/googlechrome-mac.dmg');
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
     }
     function getChromeVersion() {

+ 3 - 3
src/views/login/index.tsx

@@ -149,17 +149,17 @@ export default defineComponent({
         // window.open(
         //   'https://oss.dayaedu.com/appstore/ChromeStandaloneSetup32.exe'
         // );
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
       if (agent.indexOf('win64') >= 0 || agent.indexOf('wow64') >= 0) {
         // window.open(
         //   'https://oss.dayaedu.com/appstore/ChromeStandaloneSetup64.exe'
         // );
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
       if (isMac) {
         // window.open('https://oss.dayaedu.com/appstore/googlechrome-mac.dmg');
-        window.open('https://www.google.cn/intl/zh-CN/chrome/');
+        window.open('https://www.google.cn/intl/zh-CN_ALL/chrome/fallback/');
       }
     };