feat: 增加删除记录功能

This commit is contained in:
2026-08-25 15:15:40 +08:00
parent e42d0854ec
commit 98d74918a0
11 changed files with 260 additions and 112 deletions

View File

@@ -1,6 +1,11 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
import { getOverview, saveOverview } from "@/utils/profile";
onLaunch(() => {
if (getOverview().length === 0) {
saveOverview(['weight', 'sleep', 'sport', 'bloodPressure'])
}
console.log("App Launch");
});
onShow(() => {