From 41ea7b64a6967ca182053d1934cc45f653530f90 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Wed, 17 Sep 2025 20:11:27 +0800 Subject: [PATCH] fix(frontend): Fix Login Direct Page --- Makefile | 4 +- frontend/src/components/menu.vue | 77 +++++++++++++++++-- frontend/src/router/index.ts | 4 +- frontend/src/views/auth/Login.vue | 2 +- .../initialization/InitializationContent.vue | 23 +++++- frontend/src/views/platform/index.vue | 2 +- 6 files changed, 99 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index dde85f42..41c3ad83 100644 --- a/Makefile +++ b/Makefile @@ -176,12 +176,12 @@ deps: # Build for production build-prod: - @VERSION=$${VERSION:-unknown}; \ + VERSION=$${VERSION:-unknown}; \ COMMIT_ID=$${COMMIT_ID:-unknown}; \ BUILD_TIME=$${BUILD_TIME:-unknown}; \ GO_VERSION=$${GO_VERSION:-unknown}; \ LDFLAGS="-X 'github.com/Tencent/WeKnora/internal/handler.Version=$$VERSION' -X 'github.com/Tencent/WeKnora/internal/handler.CommitID=$$COMMIT_ID' -X 'github.com/Tencent/WeKnora/internal/handler.BuildTime=$$BUILD_TIME' -X 'github.com/Tencent/WeKnora/internal/handler.GoVersion=$$GO_VERSION'"; \ - GOOS=linux go build -installsuffix cgo -ldflags="-w -s $$LDFLAGS" -o $(BINARY_NAME) $(MAIN_PATH) + GOOS=linux go build -v -installsuffix cgo -ldflags="-w -s $$LDFLAGS" -o $(BINARY_NAME) $(MAIN_PATH) clean-db: @echo "Cleaning database..." diff --git a/frontend/src/components/menu.vue b/frontend/src/components/menu.vue index d5ca73bc..efd7f730 100644 --- a/frontend/src/components/menu.vue +++ b/frontend/src/components/menu.vue @@ -78,12 +78,30 @@