update 优化地图工具方法,调整地图样式

This commit is contained in:
zk
2024-06-14 18:11:09 +08:00
parent 83f768a4a0
commit 14c50baeed
24 changed files with 1312 additions and 178 deletions
+15
View File
@@ -0,0 +1,15 @@
import { nextTick, onMounted, ref } from 'vue';
import { useUserStore } from '/@/store/modules/user.ts';
export function useTheme() {
const themeType = ref('light');
onMounted(() => {
const store = useUserStore();
nextTick(() => {
themeType.value = store.getThemeType;
});
});
return {
themeType,
};
}