Commit a0860cac by 和金晶

修改配置页默认tab

parent a129511d
...@@ -20,7 +20,7 @@ export const ModelConfigContext = React.createContext({ ...@@ -20,7 +20,7 @@ export const ModelConfigContext = React.createContext({
const ModelConfig = () => { const ModelConfig = () => {
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const [ tabKey, setTabKey ] = useState('1'); const [ tabKey, setTabKey ] = useState('2');
const [permissions, setPermissions] = useState(undefined); const [permissions, setPermissions] = useState(undefined);
useEffect(() => { useEffect(() => {
......
...@@ -20,7 +20,7 @@ export const ModelConfigContext = React.createContext({ ...@@ -20,7 +20,7 @@ export const ModelConfigContext = React.createContext({
const ModelConfig = () => { const ModelConfig = () => {
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const [ tabKey, setTabKey ] = useState('1'); const [ tabKey, setTabKey ] = useState('2');
const [permissions, setPermissions] = useState(undefined); const [permissions, setPermissions] = useState(undefined);
useEffect(() => { useEffect(() => {
......
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 to comment