Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-middle-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-middle-front
Commits
5639b9ed
Commit
5639b9ed
authored
Sep 10, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
5d70a804
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/views/workbench/components/AppCard.vue
+3
-1
No files found.
src/views/workbench/components/AppCard.vue
View file @
5639b9ed
...
...
@@ -13,7 +13,9 @@ import { computed } from 'vue'
import
{
useRouter
}
from
'vue-router'
import
{
getVisitPermission
}
from
'@/api/common'
import
{
getToken
}
from
'@/utils/auth'
import
useUserStore
from
'@/store/modules/user'
const
userStore
=
useUserStore
()
const
props
=
defineProps
({
project
:
{
type
:
Object
,
...
...
@@ -26,7 +28,7 @@ const appName = computed(() => props.project.projectName)
const
handleClick
=
()
=>
{
console
.
log
(
'点击了应用卡片'
,
props
.
project
)
getVisitPermission
(
props
.
project
.
projectBizId
,
props
.
project
.
tenantBizId
).
then
(
response
=>
{
getVisitPermission
(
props
.
project
.
projectBizId
,
userStore
.
currentTenant
.
apiLoginTenantInfoResponse
.
tenantBizId
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
// 有权限访问项目,进行跳转
// 记录最近使用的应用
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment