更新开发者平台:代理商管理、版本管理、UI优化

This commit is contained in:
Admin
2026-04-29 15:19:17 +08:00
parent afe67d704e
commit 5c63882e71
139 changed files with 26533 additions and 365 deletions
+7 -1
View File
@@ -38,7 +38,9 @@ async function handleLogin() {
toast.success('登录成功')
if (data.user.role === 'agent') {
const isAgent = data.user.role === 'agent' || data.user.parent_agent_id
if (isAgent) {
router.push('/agent')
}
else {
@@ -124,6 +126,8 @@ async function handleLogin() {
id="username"
v-model="form.username"
type="text"
name="username"
autocomplete="username"
placeholder="请输入用户名"
:disabled="loading"
/>
@@ -140,6 +144,8 @@ async function handleLogin() {
id="password"
v-model="form.password"
type="password"
name="password"
autocomplete="current-password"
placeholder="请输入密码"
:disabled="loading"
/>