u
This commit is contained in:
1 parent
a1140b3e0a
commit
ad87788261
1229 files changed
+2284
-140085
No files matched your search
@@ -1,26 +0,0 @@
|
||||
<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