@goweekdays/layer-common 1.4.5 → 1.4.6
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 +1 -0
- package/package.json +1 -1
- package/pages/index.vue +2 -1
package/CHANGELOG.md
CHANGED
package/nuxt.config.ts
CHANGED
package/package.json
CHANGED
package/pages/index.vue
CHANGED
|
@@ -94,13 +94,14 @@ const isPartnerApp = computed(() =>
|
|
|
94
94
|
].includes(APP)
|
|
95
95
|
);
|
|
96
96
|
|
|
97
|
-
const { data: member } = await useLazyAsyncData(
|
|
97
|
+
const { data: member, refresh: refreshMember } = await useLazyAsyncData(
|
|
98
98
|
"get-member-by-app",
|
|
99
99
|
() => getByApp({ app: APP, user: loggedInUser() }),
|
|
100
100
|
{ immediate: isPartnerApp.value }
|
|
101
101
|
);
|
|
102
102
|
|
|
103
103
|
function handleSignin() {
|
|
104
|
+
refreshMember();
|
|
104
105
|
if (APP === "main") {
|
|
105
106
|
navigateTo({ name: "feeds" });
|
|
106
107
|
} else if (APP === "admin") {
|