-
-
+
@@ -17,15 +18,17 @@
import LeftTree from './LeftTree/index.vue'
import Map from './MapTool/map.vue'
import FullPage from "components/Layout/FullPage.vue";
+import { provide } from 'vue'
-const searchValue = ref()
-const current = ref
({})
const path = ref([[121.5273285, 31.21515044], [121.5293285, 31.21515044], [121.5293285, 31.21915044], [121.5273285, 31.21515044]])
+const type = ref<'view' | 'edit'>('view')
+const mapType = ref('create')
-const onSave = () => {
-
-}
-
+provide('system-region', {
+ type,
+ mapType: '',
+ path
+})