message-follow.ts 599 B

123456789101112131415161718192021222324252627282930
  1. // module/chats/components/message-text/message-text.ts
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. payload: { type: Object, value: { title: '', loading: false } },
  8. active: { type: Boolean, value: false },
  9. },
  10. /**
  11. * 组件的初始数据
  12. */
  13. data: {
  14. },
  15. /**
  16. * 组件的方法列表
  17. */
  18. methods: {
  19. seeReport(){
  20. // const id = 1819;
  21. const id = wx.getStorageSync("tonguefaceAnalysisReportId");
  22. console.log("查看舌面像报告", id);
  23. wx.navigateTo({ url: "/module/health/pages/analysis/analysis?id=" + id });
  24. },
  25. }
  26. })