fix 修复 字典缓存删除方法参数错误问题
This commit is contained in:
parent
3a82fb82e8
commit
148c7c588e
@ -14,7 +14,7 @@ const mutations = {
|
||||
try {
|
||||
for (let i = 0; i < state.dict.length; i++) {
|
||||
if (state.dict[i].key == key) {
|
||||
state.dict.splice(i, i)
|
||||
state.dict.splice(i, 1)
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user