feat: 增加删除记录功能
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user