File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ import { useI18n } from 'vue-i18n'
1010const { t } = useI18n ()
1111const logHistory = ref <ChatLogHistory >({})
1212const dialogFormVisible = ref (false )
13+ const drawerSize = ref (' 600px' )
1314
1415function getLogList(recordId : any ) {
16+ drawerSize .value = window .innerWidth < 500 ? ' 460px' : ' 600px'
1517 chatApi .get_chart_log_history (recordId ).then ((res ) => {
1618 logHistory .value = chatApi .toChatLogHistory (res ) as ChatLogHistory
1719 dialogFormVisible .value = true
@@ -29,7 +31,7 @@ defineExpose({
2931 :title =" t('parameter.execution_details')"
3032 destroy-on-close
3133 modal-class =" execution-details"
32- size =" 600px "
34+ : size =" drawerSize "
3335 >
3436 <div class =" title" >{{ t('parameter.overview') }}</div >
3537 <div class =" overview" >
@@ -89,7 +91,7 @@ defineExpose({
8991 justify-content : space-between ;
9092 margin-bottom : 24px ;
9193 .item {
92- width : 268 px ;
94+ width : calc ( 50 % - 8 px ) ;
9395 height : 86px ;
9496 border-radius : 12px ;
9597 border : 1px solid #dee0e3 ;
@@ -106,7 +108,7 @@ defineExpose({
106108 font-weight : 400 ;
107109 font-size : 14px ;
108110 line-height : 22px ;
109- width : 180 px ;
111+ width : 64 % ;
110112 }
111113
112114 .value {
@@ -122,7 +124,7 @@ defineExpose({
122124
123125 .list {
124126 .list-item {
125- width : 552 px ;
127+ width : 100 % ;
126128 height : 54px ;
127129 border-radius : 12px ;
128130 border : 1px solid #dee0e3 ;
You can’t perform that action at this time.
0 commit comments