fix: Fixed with ollama page not work (#13855)

This commit is contained in:
CityFun
2026-09-18 11:35:46 +08:00
committed by GitHub
parent 0bad1b471f
commit 6cb65e2290
+1 -1
View File
@@ -63,7 +63,7 @@ const buttons = computed<Array<{ label: string; value: LocalTab }>>(() => {
const currentTab = computed<LocalTab>(() => {
const tab = route.query.tab;
if (tab === 'vllm' || tab === 'downloader' || (tab === 'tensorrt' && isFxplay.value)) {
if (tab === 'ollama' || tab === 'vllm' || tab === 'downloader' || (tab === 'tensorrt' && isFxplay.value)) {
return tab;
}
if (tab === 'tensorrt') {