File tree Expand file tree Collapse file tree 1 file changed +30
-6
lines changed
frontend/src/components/layout Expand file tree Collapse file tree 1 file changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ const handleFoldExpand = () => {
42
42
const toWorkspace = () => {
43
43
router .push (' /' )
44
44
}
45
+
46
+ const toChatIndex = () => {
47
+ router .push (' /chat/index' )
48
+ }
45
49
const route = useRoute ()
46
50
const showSysmenu = computed (() => {
47
51
return route .path .includes (' /system' )
@@ -57,17 +61,37 @@ const showSysmenu = computed(() => {
57
61
width =" 30"
58
62
height =" 30"
59
63
:src =" logo_fold_blue"
60
- style =" margin : 0 0 6px 5px "
64
+ @click =" toChatIndex"
65
+ style =" margin : 0 0 6px 5px ; cursor : pointer "
66
+ />
67
+ <img
68
+ v-else
69
+ @click =" toChatIndex"
70
+ width =" 130"
71
+ height =" 31"
72
+ :src =" logo_blue"
73
+ style =" margin-bottom : 6px ; cursor : pointer "
61
74
/>
62
- <img v-else width =" 130" height =" 31" :src =" logo_blue" style =" margin-bottom : 6px " />
63
75
</template >
64
76
<template v-else-if =" appearanceStore .themeColor === ' custom' " >
65
- <custom _small v-if =" collapse" style =" margin : 0 0 6px 5px " ></custom _small >
66
- <LOGOCustom v-else style =" margin-bottom : 6px " ></LOGOCustom >
77
+ <custom _small
78
+ @click =" toChatIndex"
79
+ v-if =" collapse"
80
+ style =" margin : 0 0 6px 5px ; cursor : pointer "
81
+ ></custom _small >
82
+ <LOGOCustom
83
+ @click =" toChatIndex"
84
+ v-else
85
+ style =" margin-bottom : 6px ; cursor : pointer "
86
+ ></LOGOCustom >
67
87
</template >
68
88
<template v-else >
69
- <LOGO _fold v-if =" collapse" style =" margin : 0 0 6px 5px " ></LOGO _fold >
70
- <LOGO v-else style =" margin-bottom : 6px " ></LOGO >
89
+ <LOGO _fold
90
+ @click =" toChatIndex"
91
+ v-if =" collapse"
92
+ style =" margin : 0 0 6px 5px ; cursor : pointer "
93
+ ></LOGO _fold >
94
+ <LOGO @click =" toChatIndex" v-else style =" margin-bottom : 6px ; cursor : pointer " ></LOGO >
71
95
</template >
72
96
<Workspace v-if =" !showSysmenu" :collapse =" collapse" ></Workspace >
73
97
<Menu :collapse =" collapseCopy" ></Menu >
You can’t perform that action at this time.
0 commit comments