File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 7070 <template #icon >
7171 <LogoIcon height =" 32px" />
7272 </template >
73- <template #subTitle >
74- <el-text class =" color-secondary" size =" small" >
75- {{ $t('views.application.workflow') }}
76- </el-text >
77- </template >
7873 </CardBox >
7974 </el-col >
8075 </el-row >
Original file line number Diff line number Diff line change 242242 <AppIcon iconName =" app-create-chat" class =" color-secondary" ></AppIcon >
243243 {{ $t('views.application.operation.toChat') }}
244244 </el-dropdown-item >
245+
245246 <el-dropdown-item
246- @click .stop =" settingApplication(item)"
247+ @mousedown .stop =" settingApplication($event, item)"
247248 v-if =" permissionPrecise.edit(item.id)"
249+ @click.stop
248250 >
249251 <AppIcon iconName =" app-setting" class =" color-secondary" ></AppIcon >
250252 {{ $t('common.setting') }}
@@ -587,9 +589,15 @@ function copyApplication(row: any) {
587589 })
588590}
589591
590- function settingApplication(row : any ) {
592+ function settingApplication(event : any , row : any ) {
591593 if (isWorkFlow (row .type )) {
592- router .push ({ path: ` /application/workspace/${row .id }/workflow ` })
594+ if (event ?.ctrlKey ) {
595+ event ?.preventDefault ()
596+ event .stopPropagation ()
597+ window .open (` /application/workspace/${row .id }/workflow ` , ' _blank' )
598+ } else {
599+ router .push ({ path: ` /application/workspace/${row .id }/workflow ` })
600+ }
593601 } else {
594602 router .push ({ path: ` /application/workspace/${row .id }/${row .type }/setting ` })
595603 }
You can’t perform that action at this time.
0 commit comments