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
45f7d4ee
Commit
45f7d4ee
authored
Sep 10, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-20250825wyz-做基础数据维护' into 'test'
Feature 20250825wyz 做基础数据维护 See merge request
!2
parents
5639b9ed
3ca52fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
src/views/system/project/permission.vue
+1
-0
src/views/workbench/index.vue
+6
-9
No files found.
src/views/system/project/permission.vue
View file @
45f7d4ee
...
@@ -623,6 +623,7 @@ import {
...
@@ -623,6 +623,7 @@ import {
import
{
ref
}
from
'vue'
import
{
ref
}
from
'vue'
import
useUserStore
from
'@/store/modules/user'
import
useUserStore
from
'@/store/modules/user'
import
{
ElMessage
}
from
'element-plus'
const
router
=
useRouter
()
const
router
=
useRouter
()
const
userStore
=
useUserStore
()
const
userStore
=
useUserStore
()
...
...
src/views/workbench/index.vue
View file @
45f7d4ee
...
@@ -9,11 +9,7 @@
...
@@ -9,11 +9,7 @@
</
template
>
</
template
>
<div
class=
"app-list"
>
<div
class=
"app-list"
>
<AppCard
<AppCard
v-for=
"project in projects"
:key=
"project.projectBizId"
:project=
"project"
/>
v-for=
"project in projects"
:key=
"project.projectBizId"
:project=
"project"
/>
</div>
</div>
<div
v-if=
"!projects.length"
class=
"empty-container"
>
<div
v-if=
"!projects.length"
class=
"empty-container"
>
...
@@ -42,11 +38,12 @@ const projects = computed(() => {
...
@@ -42,11 +38,12 @@ const projects = computed(() => {
// 监听租户变化
// 监听租户变化
watch
(
watch
(
()
=>
userStore
.
currentTenant
,
()
=>
userStore
.
currentTenant
,
()
=>
{
()
=>
{
// 租户变化时自动刷新
// 租户变化时自动刷新
}
}
)
)
userStore
.
getInfo
()
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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