mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui-next: layout refactor & dynamic template (#1182)
This commit is contained in:
1 parent
e39a5fa87f
commit
5d5a168572
15 files changed
+114
-55
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user