Merge pull request #137 from Alfonsxh/fix/api-key-dedicated-account-dropdown

fix: 修复创建 API Key 时专属账号下拉框无选项的问题
This commit is contained in:
Wesley Liddick
2025-07-30 16:19:51 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -6,8 +6,8 @@
"scripts": { "scripts": {
"start": "node src/app.js", "start": "node src/app.js",
"dev": "nodemon src/app.js", "dev": "nodemon src/app.js",
"build:web": "cd web && npm run build", "build:web": "cd web/admin-spa && npm run build",
"install:web": "cd web && npm install", "install:web": "cd web/admin-spa && npm install",
"setup": "node scripts/setup.js", "setup": "node scripts/setup.js",
"cli": "node cli/index.js", "cli": "node cli/index.js",
"init:costs": "node src/cli/initCosts.js", "init:costs": "node src/cli/initCosts.js",

View File

@@ -359,7 +359,7 @@
使用共享账号池 使用共享账号池
</option> </option>
<option <option
v-for="account in accounts.claude.filter(a => a.isDedicated)" v-for="account in accounts.claude.filter(a => a.accountType === 'dedicated')"
:key="account.id" :key="account.id"
:value="account.id" :value="account.id"
> >
@@ -378,7 +378,7 @@
使用共享账号池 使用共享账号池
</option> </option>
<option <option
v-for="account in accounts.gemini.filter(a => a.isDedicated)" v-for="account in accounts.gemini.filter(a => a.accountType === 'dedicated')"
:key="account.id" :key="account.id"
:value="account.id" :value="account.id"
> >