migrate i18n helper.js some code to typescript and migrate vue file to composition API and typescript

This commit is contained in:
MaysWind
2025-01-11 00:49:21 +08:00
parent 25c8b9baf8
commit 8da3d2aa35
30 changed files with 937 additions and 492 deletions
+1 -1
View File
@@ -540,7 +540,7 @@ export default {
return url;
},
generateGoogleMapJavascriptUrl: (language: string, callbackFnName: string): string => {
generateGoogleMapJavascriptUrl: (language: string | undefined, callbackFnName: string): string => {
let url = `${GOOGLE_MAP_JAVASCRIPT_URL}?key=${getGoogleMapAPIKey()}&libraries=core,marker&callback=${callbackFnName}`;
if (language) {