2024-09-11 13:46:40 +08:00
|
|
|
import useRouterStore from '@/useRouterStore'
|
|
|
|
import { Button } from 'ant-design-vue'
|
2024-09-09 17:53:07 +08:00
|
|
|
import { defineComponent } from 'vue'
|
|
|
|
|
2024-09-11 13:46:40 +08:00
|
|
|
export default defineComponent(() => {
|
|
|
|
const router = useRouterStore()
|
|
|
|
return () => (
|
|
|
|
<div class="absolute left-0 top-0 w-full h-full p-4">
|
|
|
|
this is user
|
|
|
|
<Button
|
|
|
|
onClick={() => {
|
|
|
|
router.path = 'global-login'
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
登录
|
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
})
|