فهرست منبع

channelId要相同

WuJunFeng 4 سال پیش
والد
کامیت
871e786fe8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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) {