Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
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
6166da40
authored
Nov 11, 2024
by
CalciumIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: playground用户分组设为默认选项
(cherry picked from commit dd7e9afed43bca3807c4680d28b5cef97f3bf880)
parent
217a355c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
web/src/components/Playground.js
+5
-0
No files found.
web/src/components/Playground.js
View file @
6166da40
...
...
@@ -84,6 +84,11 @@ const Playground = () => {
// handleInputChange('group', localGroupOptions[0].value);
if
(
localGroupOptions
.
length
>
0
)
{
// set default group at first
localGroupOptions
.
unshift
({
label
:
'用户分组'
,
value
:
''
,
});
}
else
{
localGroupOptions
=
[{
label
:
'用户分组'
,
...
...
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