| <script setup> | 
| import AppLayout from './components/AppLayout.vue' | 
| import { useCounterStore } from '@/stores/counter.js' | 
| // import { useRoute } from 'vue-router' | 
|   | 
| const enterprise = useCounterStore() | 
| // const route = useRoute() | 
| let queryStr = window.location.href.split('?')[1]||'' | 
| let query = queryStr.split('&')||[] | 
| let data = { companyId: enterprise.companyId } | 
| query.forEach(item => { | 
|   let subQuery = item.split('=') | 
|   data[subQuery[0]] = subQuery[1] | 
| }) | 
|   | 
| enterprise.setCompanyId(data.companyId) | 
|   | 
| </script> | 
|   | 
| <template> | 
|   <AppLayout /> | 
| </template> | 
|   | 
| <style scoped> | 
|   | 
| </style> |