Browse Source

更新地址

lex-wxl 1 day ago
parent
commit
711e62505b
2 changed files with 16 additions and 10 deletions
  1. 6 3
      index.html
  2. 10 7
      src/views/login/index.tsx

+ 6 - 3
index.html

@@ -105,13 +105,16 @@
       var agent = navigator.userAgent.toLowerCase();
       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://oss.dayaedu.com/appstore/ChromeStandaloneSetup32.exe');
+        window.open('https://www.google.cn/intl/zh-CN/chrome/');
       }
       if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) {
-        window.open('https://oss.dayaedu.com/appstore/ChromeStandaloneSetup64.exe');
+        // window.open('https://oss.dayaedu.com/appstore/ChromeStandaloneSetup64.exe');
+        window.open('https://www.google.cn/intl/zh-CN/chrome/');
       }
       if (isMac) {
-        window.open('https://oss.dayaedu.com/appstore/googlechrome-mac.dmg');
+        // window.open('https://oss.dayaedu.com/appstore/googlechrome-mac.dmg');
+        window.open('https://www.google.cn/intl/zh-CN/chrome/');
       }
     }
     function getChromeVersion() {

+ 10 - 7
src/views/login/index.tsx

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