u
This commit is contained in:
1 parent
68e0785ec6
commit
57c0d98f11
189 files changed
+34329
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user