diff options
| author | Haishan <[email protected]> | 2020-06-18 20:39:33 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-18 20:39:33 +0800 |
| commit | 48acdbb5bef6c40010a8402bc0eedf8486ed0935 (patch) | |
| tree | 7b9d9acb7d1db1619ab36aefabc52ad197c29a83 /src/components/Config.js | |
| parent | 9d5d238082801ec1382e3e41f0ab2ee6a62e6809 (diff) | |
| parent | c0adc3a7923ad8bd204a515885337ee0a68118e2 (diff) | |
Merge pull request #499 from zhzy0077/patch-1
Diffstat (limited to 'src/components/Config.js')
| -rw-r--r-- | src/components/Config.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/Config.js b/src/components/Config.js index 8f6e396..46c480d 100644 --- a/src/components/Config.js +++ b/src/components/Config.js @@ -27,15 +27,15 @@ const propsList = [{ id: 0 }, { id: 1 }, { id: 2 }, { id: 3 }]; const optionsRule = [ { label: 'Global', - value: 'global', + value: 'Global', }, { label: 'Rule', - value: 'rule', + value: 'Rule', }, { label: 'Direct', - value: 'direct', + value: 'Direct', }, ]; @@ -220,7 +220,7 @@ function ConfigImpl({ <ToggleSwitch options={optionsRule} name="mode" - value={configState.mode && configState.mode.toLowerCase()} + value={configState.mode} onChange={handleInputOnChange} /> </div> |
