diff --git a/resources/js/Default/store/category/mutations.text b/resources/js/Default/store/category/mutations.text index 2490363..c0aa86d 100644 --- a/resources/js/Default/store/category/mutations.text +++ b/resources/js/Default/store/category/mutations.text @@ -14,9 +14,7 @@ export default { REMOVE_|-MODULE-|(state, id) { const Index = state.|-snake_module-|.findIndex(x => x.id === id); - const selectedIndex = state.|-snake_module-|_selected.findIndex(x => x.id === id); Vue.delete(state.|-snake_module-|, Index); - Vue.delete(state.|-snake_module-|_selected, selectedIndex); Vue.set(state, '|-snake_module-|', addIndexTreeToList(state.|-snake_module-|)); },