Commit 6166da40 by CalciumIon

feat: playground用户分组设为默认选项

(cherry picked from commit dd7e9afed43bca3807c4680d28b5cef97f3bf880)
parent 217a355c
...@@ -84,6 +84,11 @@ const Playground = () => { ...@@ -84,6 +84,11 @@ const Playground = () => {
// handleInputChange('group', localGroupOptions[0].value); // handleInputChange('group', localGroupOptions[0].value);
if (localGroupOptions.length > 0) { if (localGroupOptions.length > 0) {
// set default group at first
localGroupOptions.unshift({
label: '用户分组',
value: '',
});
} else { } else {
localGroupOptions = [{ localGroupOptions = [{
label: '用户分组', label: '用户分组',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment