fix: use relative URL for location.href to stay in workspace

This commit is contained in:
yumoqing 2026-07-29 14:59:17 +08:00
parent 31119554d4
commit 063c0a46bb
3 changed files with 2 additions and 2 deletions

BIN
wwwroot/.model_plaza.ui.swp Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@
{% set active_search = params_kw.get('search', '') %} {% set active_search = params_kw.get('search', '') %}
{% set catelogs = get_llmcatelogs() %} {% set catelogs = get_llmcatelogs() %}
{% set providers = get_llmproviders() %} {% set providers = get_llmproviders() %}
{% set base = entire_url('model_plaza.ui') %} {% set base = '/llmage/model_plaza.ui' %}
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": {"css": "filler", "width": "100%", "height": "100%", "gap": "8px"}, "options": {"css": "filler", "width": "100%", "height": "100%", "gap": "8px"},

View File

@ -9,7 +9,7 @@
{% set start = (page - 1) * page_size %} {% set start = (page - 1) * page_size %}
{% set end = [start + page_size, total] | min %} {% set end = [start + page_size, total] | min %}
{% set data = all_data[start:end] %} {% set data = all_data[start:end] %}
{% set base = entire_url('model_plaza.ui') %} {% set base = '/llmage/model_plaza.ui' %}
{% set ns = namespace(first=true) %} {% set ns = namespace(first=true) %}
{ {
"widgettype": "VBox", "widgettype": "VBox",