ui-next: layout refactor & dynamic template (#1182)

This commit is contained in:
Baoshuo authored and GitHub committed 2026-06-20 17:03:54 +08:00
1 parent e39a5fa87f
commit 5d5a168572
15 files changed
+114 -55

No files matched your search

+2
View File
@@ -191,6 +191,7 @@ export async function apply(ctx: Context) {
const serialized = JSON.stringify({
HYDRO_INJECTED: true,
name: context.handler.context._matchedRouteName,
template: context.handler.response.template || '',
args: {
UserContext: context.UserContext,
UiContext: context.handler.UiContext,
@@ -224,6 +225,7 @@ export async function apply(ctx: Context) {
const serialized = JSON.stringify({
HYDRO_INJECTED: true,
name: context.handler.context._matchedRouteName,
template: context.handler.response.template || '',
args: {
UserContext: context.UserContext,
UiContext: context.handler.UiContext,