作者 RuoYi

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

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