فهرست منبع

Merge branch 'story-238' of ssh://121.43.162.141:10022/six.fe/health.applet into story-234

张田田 1 ماه پیش
والد
کامیت
3c3e852f03
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      miniprogram/module/care/pages/offlineTreatment/offlineTreatment.ts

+ 2 - 2
miniprogram/module/care/pages/offlineTreatment/offlineTreatment.ts

@@ -21,7 +21,8 @@ Page({
     // await this.getOfflineTreatmentList("");
   },
   async onShow() {
-    await this.getOfflineTreatmentList("");
+    // 返回本页时要沿用当前 Tab 的筛选条件
+    await this.getOfflineTreatmentList(this.data.currentTab ?? "");
   },
   // 跳转到核销记录
   onRecord(e: any) {
@@ -43,7 +44,6 @@ Page({
   },
   // 去预约
   goAppointment(e: any) {
-
     const { item } = e.currentTarget.dataset;
     const { offlineId, conditioningProgramName, offlineDuration, itemImgSecond, estimatedStartDate } = item;
     const goodsInfo = {