파일 이식(0.31.1)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import { useMediaQuery } from "@vueuse/core";
|
||||
|
||||
export const is1000pxMode = useMediaQuery('(min-width:900px');
|
||||
@@ -0,0 +1,11 @@
|
||||
import { watch, ref } from "vue";
|
||||
|
||||
export const hideMapCityName = ref<boolean>(localStorage.getItem('sam.hideMapCityName') == 'yes');
|
||||
watch(hideMapCityName, (value) => {
|
||||
localStorage.setItem('sam.hideMapCityName', value ? 'yes' : 'no');
|
||||
});
|
||||
|
||||
export const toggleSingleTap = ref<boolean>(localStorage.getItem('sam.toggleSingleTap') == 'yes');
|
||||
watch(toggleSingleTap, (value) => {
|
||||
localStorage.setItem('sam.toggleSingleTap', value ? 'yes' : 'no');
|
||||
});
|
||||
Reference in New Issue
Block a user