邹能昇 2 сар өмнө
parent
commit
f51d0a9d9d

+ 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) {