|
|
@ -14,7 +14,7 @@ const mutations = { |
|
|
try { |
|
|
try { |
|
|
for (let i = 0; i < state.dict.length; i++) { |
|
|
for (let i = 0; i < state.dict.length; i++) { |
|
|
if (state.dict[i].key == key) { |
|
|
if (state.dict[i].key == key) { |
|
|
state.dict.splice(i, i) |
|
|
state.dict.splice(i, 1) |
|
|
return true |
|
|
return true |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|