Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

张延森 5 years ago
parent
commit
f466de1996
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/pages/news/detail/index.js

+ 1
- 1
src/pages/news/detail/index.js View File

87
       Taro.reLaunch({ url: '/pages/auth/index' })
87
       Taro.reLaunch({ url: '/pages/auth/index' })
88
       return
88
       return
89
     }
89
     }
90
-    const newsId = this.state
90
+    const { newsId } = this.state
91
     this.loadDetail()
91
     this.loadDetail()
92
     addNewsUv(newsId)
92
     addNewsUv(newsId)
93
   }
93
   }