message-follow.ts 552 B

1234567891011121314151617181920212223242526272829
  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. wx.navigateTo({ url: "/module/health/pages/analysis/analysis?id=" + id });
  23. },
  24. }
  25. })