This commit is contained in:
oneao committed 2025-06-18 16:30:01 +08:00
1 parent bcc4722efc
commit f48536774f
403 files changed
+34776

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<template>
<router-view></router-view>
</template>
<script setup lang="ts">
import { onMounted } from "vue";
import { getAreaListApi } from "@/service/area";
import { getPropertyListApi } from "./service/peoperty";
import { useCommonOptions } from "./store/commonOptions";
const commonOptions = useCommonOptions();
onMounted(() => {
handleInitData();
});
const handleInitData = () => {
getAreaListApi().then((res) => {
commonOptions.areaOptions.value = res.data;
});
getPropertyListApi().then((res) => {
commonOptions.propertyOptions.value = res.data;
});
};
</script>
<style scoped></style>