Unverified Commit 3c8fc914 authored by aiwenmo's avatar aiwenmo Committed by GitHub

[Fix-529] [web] Fix the task cannot be saved after switching tasks

[Fix-529] [web] Fix the task cannot be saved after switching tasks
parents 6fe3ae5f dcfaabdd
...@@ -378,6 +378,7 @@ const Model: ModelType = { ...@@ -378,6 +378,7 @@ const Model: ModelType = {
}; };
}, },
changeActiveKey(state, {payload}) { changeActiveKey(state, {payload}) {
payload = parseInt(payload);
const newTabs = state?.tabs; const newTabs = state?.tabs;
let newCurrent = state?.current; let newCurrent = state?.current;
for (let i = 0; i < newTabs.panes.length; i++) { for (let i = 0; i < newTabs.panes.length; i++) {
......
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