Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
113f2ac4
authored
Jun 11, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文本,获取apiKey后刷新
parent
ad7da22d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
src/views/console/components/token.vue
+1
-0
src/views/login.vue
+1
-1
No files found.
src/views/console/components/token.vue
View file @
113f2ac4
...
@@ -110,6 +110,7 @@ function handleGetToken() {
...
@@ -110,6 +110,7 @@ function handleGetToken() {
apiKey
.
value
=
response
.
apiKey
;
apiKey
.
value
=
response
.
apiKey
;
maskedKey
.
value
=
maskKey
(
response
.
apiKey
);
maskedKey
.
value
=
maskKey
(
response
.
apiKey
);
proxy
.
$modal
.
msgSuccess
(
"获取令牌成功"
);
proxy
.
$modal
.
msgSuccess
(
"获取令牌成功"
);
loadTokenInfo
()
}
else
{
}
else
{
proxy
.
$modal
.
msgError
(
response
?.
message
||
"获取令牌失败"
);
proxy
.
$modal
.
msgError
(
response
?.
message
||
"获取令牌失败"
);
}
}
...
...
src/views/login.vue
View file @
113f2ac4
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
/el-tabs
>
<
/el-tabs
>
<
div
class
=
"mb20"
style
=
"height: 20px;"
>
<
div
class
=
"mb20"
style
=
"height: 20px;"
>
<
el
-
checkbox
v
-
model
=
"loginForm.autoCreateNewApi"
>
若无
token
令牌,自动创建
<
/el-checkbox
>
<
el
-
checkbox
v
-
model
=
"loginForm.autoCreateNewApi"
>
获取
token
令牌
<
/el-checkbox
>
<
/div
>
<
/div
>
<
div
class
=
"flex-align-center flex-space-between mb20"
style
=
"height: 32px;"
>
<
div
class
=
"flex-align-center flex-space-between mb20"
style
=
"height: 32px;"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment