mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-09-02 02:45:00 +00:00
修复字典缓存删除方法参数错误问题(I7UDIR)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user