refactor: update env configs, replace uni-ui and fix issues
- add VITE_CLIENT_ID environment variable to all .env files, adjust API and socket URLs across dev/staging/prod environments - update request utility to use env var for client ID instead of hardcoded "6" - refactor GoodDetail component: replace uni-icons with van-icon, switch markdown renderer to vue3-markdown-it - refactor Calendar component: swap uni-popup for van-popup, remove deprecated SCSS styles, update markup and toast calls - fix ImageSwiper: rename handler methods, update preview navigation to use vue router, remove redundant code - correct margin class syntax in goods index page
This commit is contained in:
@@ -9,3 +9,6 @@ VITE_API_TIMEOUT_MS = 10000
|
||||
|
||||
# Socket 基础 URL
|
||||
VITE_SOCKET_BASE_URL = "/ingress/agent/ws/chat"
|
||||
|
||||
# Client ID
|
||||
VITE_CLIENT_ID = "12"
|
||||
Reference in New Issue
Block a user