Преглед изворни кода

新用户首页默认展示“请完成健康评估”

张田田 пре 6 месеци
родитељ
комит
4471b0460f
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      miniprogram/pages/home/home.ts

+ 1 - 2
miniprogram/pages/home/home.ts

@@ -29,7 +29,7 @@ import { useLocation } from "../../lib/use/use-location";
 
 
 Page({
 Page({
   data: {
   data: {
-    isShowComplete: false,
+    isShowComplete: true,
     careList: [],
     careList: [],
     displayList: [] as {
     displayList: [] as {
       id: number;
       id: number;
@@ -442,7 +442,6 @@ Page({
     this.setData({ "healthReport.loading": true });
     this.setData({ "healthReport.loading": true });
     try {
     try {
       const data = await healthReportMethod();
       const data = await healthReportMethod();
-
       if (!data) {
       if (!data) {
         this.setData({
         this.setData({
           isShowComplete: true,
           isShowComplete: true,