页面tab完成
This commit is contained in:
		| @@ -251,6 +251,13 @@ export const logs = { | ||||
|       const i = state.pages.findIndex(e => e.id == id) | ||||
|       i > -1 && state.pages.splice(i, 1) | ||||
|     }, | ||||
|     clearAllPages(state) { | ||||
|       state.pages = [] | ||||
|     }, | ||||
|     clearOtherPages(state) { | ||||
|       const id = location.href?.replace(location.origin, "") | ||||
|       state.pages = state.pages.filter(e => e.id == id) || [] | ||||
|     } | ||||
|   }, | ||||
|   actions: { | ||||
|     closePage({commit}, id) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user