File tree Expand file tree Collapse file tree 7 files changed +17
-3
lines changed
container/container/terminal
host/file-management/terminal
website/runtime/components Expand file tree Collapse file tree 7 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 44 @close =" handleClose"
55 :destroy-on-close =" true"
66 :size =" size"
7- :close-on-press-escape =" true"
7+ :close-on-press-escape =" autoClose"
8+ :close-on-click-modal =" autoClose"
89 >
910 <template #header >
1011 <el-page-header @back =" handleBack" >
@@ -73,6 +74,10 @@ const props = defineProps({
7374 type: Boolean ,
7475 default: false ,
7576 },
77+ autoClose: {
78+ type: Boolean ,
79+ default: true ,
80+ },
7681});
7782
7883const slots = useSlots ();
Original file line number Diff line number Diff line change 55 @close =" handleClose"
66 :resource =" title"
77 :size =" globalStore.isFullScreen ? 'full' : 'large'"
8+ :autoClose =" false"
89 >
910 <Terminal class =" mt-2" style =" height : calc (100vh - 175px )" ref =" terminalRef" ></Terminal >
1011
Original file line number Diff line number Diff line change 44 :header =" $t('menu.terminal')"
55 @close =" handleClose"
66 :resource =" title"
7+ :autoClose =" !terminalOpen"
78 size =" large"
89 >
910 <template #content >
Original file line number Diff line number Diff line change 8484 <span v-else >{{ row.retainCopies }}</span >
8585 </template >
8686 </el-table-column >
87- <el-table-column :label =" $t('cronjob.lastRecordTime')" :min-width =" 120" prop =" lastRecordTime" >
87+ <el-table-column
88+ :label =" $t('cronjob.lastRecordTime')"
89+ :min-width =" 120"
90+ show-overflow-tooltip
91+ prop =" lastRecordTime"
92+ >
8893 <template #default =" { row } " >
8994 <el-button v-if =" row.lastRecordStatus === 'Success'" icon =" Select" link type =" success" />
9095 <el-button v-if =" row.lastRecordStatus === 'Failed'" icon =" CloseBold" link type =" danger" />
Original file line number Diff line number Diff line change 55 @close =" handleClose"
66 :resource =" scriptName"
77 size =" large"
8+ :autoClose =" false"
89 >
910 <template #content >
1011 <Terminal style =" height : calc (100vh - 175px ); margin-top : 18px " ref =" terminalRef" ></Terminal >
Original file line number Diff line number Diff line change 44 :header =" $t('menu.terminal')"
55 @close =" handleClose"
66 size =" large"
7- :close-on-click-modal =" false"
7+ :autoClose =" false"
88 >
99 <template #content >
1010 <Terminal style =" height : calc (100vh - 100px )" ref =" terminalRef" ></Terminal >
Original file line number Diff line number Diff line change 66 :resource =" title"
77 fullScreen
88 :size =" globalStore.isFullScreen ? 'full' : 'large'"
9+ :autoClose =" false"
910 >
1011 <template #content >
1112 <Terminal style =" height : calc (100vh - 180px )" ref =" terminalRef" v-if =" terminalOpen" ></Terminal >
You can’t perform that action at this time.
0 commit comments