fix: update package.json dependencies and refactor share composables for improved functionality

This commit is contained in:
keven1024
2025-06-03 14:30:41 +08:00
parent 3eee404868
commit edf0fe471d
8 changed files with 25 additions and 25 deletions

View File

@@ -1,6 +0,0 @@
const useAppConfig = () => {
const { data } = useFetch('/config')
return data
}
export default useAppConfig

View File

@@ -0,0 +1,6 @@
const useMyAppConfig = () => {
const { data } = useFetch("/config");
return data;
};
export default useMyAppConfig;

View File

@@ -60,7 +60,7 @@ const createTextShare = async (data: { text: string; config: any }) => {
});
};
const useAppShare = () => {
const useMyAppShare = () => {
return {
downloadFile,
createShare,
@@ -69,4 +69,4 @@ const useAppShare = () => {
};
};
export default useAppShare;
export default useMyAppShare;