Procházet zdrojové kódy

channelId要相同

WuJunFeng před 4 roky
rodič
revize
871e786fe8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/pages/Download/Download.js

+ 1 - 1
src/pages/Download/Download.js

@@ -42,7 +42,7 @@ class Download extends React.Component {
     try {
       this.setState({ loading: true })
       const res = await getAppLatest({ clientType: UserAgent.iOS() ? 2 : 3, appType: 11 })
-      if (res.success && res.data) {
+      if (res.success && res.data && res.data.channelId == this.state.channelId) {
         const { versionDownloadUrl, versionRemarks } = res.data
         const info = res.data
         if (versionDownloadUrl) {