mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-08 10:13:44 +08:00
set the enable status for adding new api key with default value true
This commit is contained in:
@@ -215,7 +215,7 @@ httpGet('/api/admin/apikey/list').then((res) => {
|
||||
const add = function () {
|
||||
showDialog.value = true
|
||||
title.value = "新增 API KEY"
|
||||
item.value = {}
|
||||
item.value = {enabled: true}
|
||||
}
|
||||
|
||||
const edit = function (row) {
|
||||
|
||||
@@ -52,7 +52,7 @@ import {setAdminToken} from "@/store/session";
|
||||
import {checkAdminSession} from "@/action/session";
|
||||
|
||||
const router = useRouter();
|
||||
const title = ref('ChatGPT Plus Admin');
|
||||
const title = ref('Geek-AI 控制台登录');
|
||||
const username = ref(process.env.VUE_APP_ADMIN_USER);
|
||||
const password = ref(process.env.VUE_APP_ADMIN_PASS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user