mahjong_group/common/server/config.js
2025-09-04 11:48:38 +08:00

17 lines
273 B
JavaScript

import {
getConfig
} from '@/common/server/interface/common'
import {
ref
} from 'vue';
export const configData = ref(null);
export const preloadConfigData = async () => {
const res = await getConfig();
configData.value = {
config: res
};
};