@fy-/fws-vue 2.1.38 → 2.1.40
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.
|
@@ -391,11 +391,11 @@ onUnmounted(() => {
|
|
|
391
391
|
<template v-if="mode === 'grid' || mode === 'mason' || mode === 'custom'">
|
|
392
392
|
<div
|
|
393
393
|
:class="{
|
|
394
|
-
'grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-start':
|
|
394
|
+
'min-h-[600px] grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-start':
|
|
395
395
|
mode === 'mason',
|
|
396
|
-
'grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-center':
|
|
396
|
+
'min-h-[600px] grid grid-cols-2 md:grid-cols-4 xl:grid-cols-6 gap-4 items-center':
|
|
397
397
|
mode === 'grid',
|
|
398
|
-
'custom-grid': mode === 'custom',
|
|
398
|
+
'min-h-[600px] custom-grid': mode === 'custom',
|
|
399
399
|
}"
|
|
400
400
|
>
|
|
401
401
|
<slot name="thumbnail" />
|
package/composables/ssr.ts
CHANGED
|
@@ -46,8 +46,8 @@ export async function initVueServer(
|
|
|
46
46
|
const { app, router, head, pinia } = await createApp(true)
|
|
47
47
|
const serverRouter = useServerRouter(pinia)
|
|
48
48
|
serverRouter._setRouter(router)
|
|
49
|
-
await
|
|
50
|
-
await
|
|
49
|
+
await serverRouter._router.push(url)
|
|
50
|
+
await serverRouter._router.isReady()
|
|
51
51
|
|
|
52
52
|
const result: SSRResult = {
|
|
53
53
|
uuid: getUUID(),
|
|
@@ -86,8 +86,9 @@ export async function initVueServer(
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
serverRouter._router = null
|
|
89
|
+
// serverRouter._router = null
|
|
90
90
|
result.initial.pinia = pinia.state.value
|
|
91
|
+
serverRouter._setRouter(null)
|
|
91
92
|
callback(result)
|
|
92
93
|
return result
|
|
93
94
|
}
|