update 优化地图工具方法,调整地图样式
This commit is contained in:
@@ -31,9 +31,10 @@
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
import PublicTitle from '/@/components/publicTitle.vue';
|
||||
import { list } from '/@/components/body-d-left/left.api';
|
||||
import { allValueEmpty, timeTab, useSpin, useStatistics } from '/@/components/body-d-left/bodyLeftHooks.ts';
|
||||
import { timeTab, useSpin, useStatistics } from '/@/components/body-d-left/bodyLeftHooks.ts';
|
||||
import { useDetailStore } from '/@/store/modules/detailData.ts';
|
||||
import { useSession, caching } from '/@/hooks/autoRefresh/caching.ts';
|
||||
import { setTheme } from '/@/assets/theme/themeList.ts';
|
||||
|
||||
const { LEFT_KEY1 } = caching;
|
||||
const props = defineProps({
|
||||
@@ -43,6 +44,9 @@
|
||||
setting: {
|
||||
type: Object,
|
||||
},
|
||||
theme: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
const emit = defineEmits(['handleClick']);
|
||||
const typeTime = ref(timeTab);
|
||||
@@ -53,6 +57,9 @@
|
||||
|
||||
onMounted(() => {
|
||||
getList();
|
||||
if (props.theme) {
|
||||
setTheme(props.theme);
|
||||
}
|
||||
});
|
||||
|
||||
const useDetail = useDetailStore();
|
||||
|
||||
Reference in New Issue
Block a user