add constant

This commit is contained in:
Jesse-Ma
2022-12-09 14:14:27 +08:00
parent a0d58cf0a5
commit 5a9fe66cad
10 changed files with 38 additions and 116 deletions

9
src/libs/constants.js Normal file
View File

@@ -0,0 +1,9 @@
const servicePath = process.env.VUE_APP_BASE_URL;
const noteMaxCount = process.env.VUE_APP_NOTE_MAX_COUNT;
const noteMaxDesc = process.env.VUE_APP_NOTE_MAX_DESC;
export default {
servicePath,
noteMaxCount,
noteMaxDesc
}