邹能昇 2 달 전
부모
커밋
f51d0a9d9d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      nova-werun/components/home/index.js

+ 2 - 0
nova-werun/components/home/index.js

@@ -328,6 +328,7 @@ Component({
                 try {
                     let saveDate = await r.save();
                     this.order()
+                    this.gettoday()
                     console.log("步数修改成功");
                 } catch (error) {
                     console.error("保存数据时出现错误:", error);
@@ -349,6 +350,7 @@ Component({
                 try {
                     let saveDate2 = await Comment.save();
                     this.order()
+                    this.gettoday()
                     // console.log(saveDate2);
                     console.log("步数保存成功");
                 } catch (error) {