File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed
Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -163,13 +163,13 @@ const initialApiFormData = ref({})
163163const isUserInput = computed (
164164 () =>
165165 props .applicationDetails .work_flow ?.nodes ?.filter ((v : any ) => v .id === ' base-node' )[0 ]
166- .properties .user_input_field_list .length > 0
166+ ? .properties .user_input_field_list .length > 0
167167)
168168const isAPIInput = computed (
169169 () =>
170170 props .type === ' debug-ai-chat' &&
171171 props .applicationDetails .work_flow ?.nodes ?.filter ((v : any ) => v .id === ' base-node' )[0 ]
172- .properties .api_input_field_list .length > 0
172+ ? .properties .api_input_field_list .length > 0
173173)
174174const showUserInputContent = computed (() => {
175175 return (
Original file line number Diff line number Diff line change 33 <div class =" header border-b flex-between p-12-24" >
44 <div class =" flex align-center" >
55 <back-button @click =" back" ></back-button >
6- <h4 >{{ detail?.name }}</h4 >
6+ <h4 class = " ellipsis-1 " style = " width : 50 % " :title = " detail?.name " >{{ detail?.name }}</h4 >
77 <div v-if =" showHistory && disablePublic" >
88 <el-text type =" info" class =" ml-16 color-secondary"
99 >{{ $t('views.applicationWorkflow.info.previewVersion') }}
101101 />
102102 </div >
103103
104- <h4 >
104+ <h4 class = " ellipsis " style = " max-width : 270 px " :title = " detail?.name " >
105105 {{ detail?.name || $t('views.application.applicationForm.form.appName.label') }}
106106 </h4 >
107107 </div >
@@ -279,7 +279,6 @@ async function publicHandle() {
279279 return
280280 }
281281 applicationApi .putPublishApplication (id as String , obj , loading ).then (() => {
282-
283282 application .asyncGetApplicationDetail (id , loading ).then ((res : any ) => {
284283 detail .value .name = res .data .name
285284 MsgSuccess (t (' views.applicationWorkflow.tip.publicSuccess' ))
Original file line number Diff line number Diff line change 2828 />
2929 </div >
3030
31- <h4 >{{ applicationDetail?.name }}</h4 >
31+ <h4 class =" ellipsis-1" style =" width : 50% " :title =" applicationDetail?.name" >
32+ {{ applicationDetail?.name }}
33+ </h4 >
3234 </div >
3335 </div >
3436 <div >
Original file line number Diff line number Diff line change 2727 />
2828 </div >
2929
30- <h4 >{{ applicationDetail?.name }}</h4 >
30+ <h4 class =" ellipsis-1" style =" width : 66% " :title =" applicationDetail?.name" >
31+ {{ applicationDetail?.name }}
32+ </h4 >
3133 </div >
3234 </div >
3335 <div >
Original file line number Diff line number Diff line change 2727 :size =" 32"
2828 />
2929 </div >
30- <h4 >{{ applicationDetail?.name }}</h4 >
30+ <h4 class =" ellipsis-1" style =" width : 66% " :title =" applicationDetail?.name" >
31+ {{ applicationDetail?.name }}
32+ </h4 >
3133 </div >
3234 </div >
3335 <div >
You can’t perform that action at this time.
0 commit comments