拓恒河湖长制全民护河平台WEB端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
386B

  1. import { messageDetail } from '../../../api/mine.js'
  2. Page({
  3. data:{
  4. detail: {}
  5. },
  6. onLoad(options){
  7. const { msgId } = options
  8. if(!msgId){
  9. wx.redirectTo({
  10. url: '/package_mine/pages/notice/index',
  11. })
  12. }else{
  13. messageDetail({msgId})
  14. .then(res=>{
  15. this.setData({
  16. detail: res.data || {}
  17. })
  18. })
  19. }
  20. },
  21. })