fix 修复 字典缓存删除方法参数错误问题

This commit is contained in:
疯狂的狮子Li
2023-08-23 22:20:41 +08:00
parent 6a8d1069bb
commit 33417c6218

View File

@@ -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
}
}