| | |
| | | const path = typeof item.path === 'string' ? item.path : item.path.path |
| | | return root.$route.path?.indexOf(path) === 0 |
| | | } |
| | | const osdVisible = computed(() => { |
| | | return store.state.osdVisible |
| | | }) |
| | | const snList = computed(() => store.state.common.snList) |
| | | async function goBack () { |
| | | const query = toRefs(osdVisible.value) |
| | | snList.value.forEach(async (v: string) => { |
| | | await testUnBind(v) |
| | | }) |
| | | store.commit('SET_OSD_VISIBLE_INFO', { ...query, visible: false }) |
| | | root.$router.push('/' + ERouterName.PROJECT_LIST) |
| | | } |
| | | return { |