|
@@ -106,7 +106,7 @@ import { getCurrentInstance, onMounted, ref, watch } from 'vue';
|
|
|
import { assertNotNull, waitTimeOut } from '@imengyu/imengyu-utils';
|
|
import { assertNotNull, waitTimeOut } from '@imengyu/imengyu-utils';
|
|
|
import { toast } from '@/components/dialog/CommonRoot';
|
|
import { toast } from '@/components/dialog/CommonRoot';
|
|
|
import { useSimpleDataLoader } from '@/components/composeabe/loader/SimpleDataLoader';
|
|
import { useSimpleDataLoader } from '@/components/composeabe/loader/SimpleDataLoader';
|
|
|
-import LightVillageApi, { VillageListItem, type VillageMapItem } from '@/api/light/LightVillageApi';
|
|
|
|
|
|
|
+import LightVillageApi, { type VillageMapItem } from '@/api/light/LightVillageApi';
|
|
|
import AppCofig from '@/common/config/AppCofig';
|
|
import AppCofig from '@/common/config/AppCofig';
|
|
|
import SimpleDropDownPicker from '@/common/components/SimpleDropDownPicker.vue';
|
|
import SimpleDropDownPicker from '@/common/components/SimpleDropDownPicker.vue';
|
|
|
import NButton from '@/components/basic/Button.vue';
|
|
import NButton from '@/components/basic/Button.vue';
|
|
@@ -416,6 +416,10 @@ onMounted(async () => {
|
|
|
|
|
|
|
|
defineExpose({
|
|
defineExpose({
|
|
|
showSearch,
|
|
showSearch,
|
|
|
|
|
+ reload: async () => {
|
|
|
|
|
+ await regionLoader.reload();
|
|
|
|
|
+ loadFirstRegion();
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|