style: add some notes

This commit is contained in:
vben
2020-10-29 23:01:11 +08:00
parent 7658f4d6e8
commit 2f1fbf8e48
14 changed files with 101 additions and 29 deletions

View File

@@ -1,3 +1,7 @@
/**
* Get the configuration file variable name
* @param env
*/
export const getShortName = (env: any) => {
return `__PRODUCTION__${env.VITE_GLOB_APP_SHORT_NAME || '__APP'}__CONF__`
.toUpperCase()