-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(projects): add constant route page without login status[添加未登录可访问…
…的固定路由示例页面]
- Loading branch information
1 parent
82c4b09
commit 78efd77
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<template> | ||
<div class="wh-full flex-col-center"> | ||
<n-gradient-text class="mb-24px" type="primary" :size="28">Custom Constant Page</n-gradient-text> | ||
<router-link :to="{ name: routeHomePath }"> | ||
<n-button type="primary">回到首页</n-button> | ||
</router-link> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { routeName } from '@/router'; | ||
const routeHomePath = routeName('root'); | ||
</script> | ||
|
||
<style scoped></style> |
78efd77
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
soybean-admin – ./
soybean-admin-honghuangdc.vercel.app
soybean-admin.vercel.app
soybean-admin-git-main-honghuangdc.vercel.app
soybean.pro
www.soybean.pro