set the enable status for adding new api key with default value true

This commit is contained in:
RockYang
2024-04-07 10:17:10 +08:00
parent c2a7c089d2
commit 7f0b6a3a46
6 changed files with 845 additions and 36 deletions

View File

@@ -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) {