@goweekdays/layer-common 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/nuxt.config.ts +2 -0
- package/package.json +1 -1
- package/pages/login.vue +2 -2
package/CHANGELOG.md
CHANGED
package/nuxt.config.ts
CHANGED
|
@@ -21,6 +21,8 @@ export default defineNuxtConfig({
|
|
|
21
21
|
APP_NAME_ROUTE: (process.env.APP_NAME_ROUTE as string) ?? "index",
|
|
22
22
|
S3_BUCKET_ENDPOINT: (process.env.S3_BUCKET_ENDPOINT as string) ?? "",
|
|
23
23
|
APP_MAIN: (process.env.APP_MAIN as string) ?? "",
|
|
24
|
+
APP_MAIN_LANDING_PAGE:
|
|
25
|
+
(process.env.APP_MAIN_LANDING_PAGE as string) ?? "jobs",
|
|
24
26
|
APP_ACCOUNT: (process.env.APP_ACCOUNT as string) ?? "",
|
|
25
27
|
APP_ADMIN: (process.env.APP_ADMIN as string) ?? "",
|
|
26
28
|
APP_ORG: (process.env.APP_ORG as string) ?? "",
|
package/package.json
CHANGED
package/pages/login.vue
CHANGED
|
@@ -117,7 +117,7 @@ const message = ref("");
|
|
|
117
117
|
|
|
118
118
|
const loading = ref(false);
|
|
119
119
|
|
|
120
|
-
const { APP, cookieConfig } = useRuntimeConfig().public;
|
|
120
|
+
const { APP, APP_MAIN_LANDING_PAGE, cookieConfig } = useRuntimeConfig().public;
|
|
121
121
|
|
|
122
122
|
const { getByApp } = useMember();
|
|
123
123
|
|
|
@@ -127,7 +127,7 @@ async function submit({ email = "", password = "" } = {}) {
|
|
|
127
127
|
await login({ email, password });
|
|
128
128
|
|
|
129
129
|
if (APP === "main") {
|
|
130
|
-
await navigateTo({ name:
|
|
130
|
+
await navigateTo({ name: APP_MAIN_LANDING_PAGE });
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
|