Commit 491b0f3db8a7bba3ff043f3561fc5c24344d8fdd

Authored by RuoYi
1 parent 90260ce2

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

ruoyi-ui/src/store/modules/dict.js
... ... @@ -14,7 +14,7 @@ const mutations = {
14 14 try {
15 15 for (let i = 0; i < state.dict.length; i++) {
16 16 if (state.dict[i].key == key) {
17   - state.dict.splice(i, i)
  17 + state.dict.splice(i, 1)
18 18 return true
19 19 }
20 20 }
... ...