fix: 修复terminal窗口resize的bug等
This commit is contained in:
@@ -191,9 +191,9 @@
|
||||
isFullScreen:false,
|
||||
closeConfirmShow:false,
|
||||
closeRemember:false,
|
||||
initConsoleHeight:300,//只读,初始化高度
|
||||
consoleHeight:300,//console高度
|
||||
resizeConsoleHeight: 300, //resize后的高度,用于记录最大化、最小化前的高度
|
||||
initConsoleHeight:250,//只读,初始化高度
|
||||
consoleHeight:250,//console高度
|
||||
resizeConsoleHeight: 250, //resize后的高度,用于记录最大化、最小化前的高度
|
||||
currentTransform:0,
|
||||
editableTabsValue: '-1',//当前显示的console
|
||||
currentIndex:'-1',
|
||||
@@ -290,6 +290,7 @@
|
||||
this.closeConfirmShow = true;
|
||||
}
|
||||
}
|
||||
document.querySelector(".sub-list").style.height = "";
|
||||
},
|
||||
cancleConfirm(){
|
||||
this.closeConfirmShow = false;
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<span>
|
||||
<div class="sub-top-tools">
|
||||
<div class="sub-list-tabs">
|
||||
<div class="sub-list-tab-title">{{$t("asset.dcName")}}:{{obj.name}}</div><div
|
||||
class="sub-list-tab" @click="changeTab('detail')">{{$t("overall.detail")}}</div><div
|
||||
<div class="sub-list-tab-title">{{$t("config.dc.dcName")}}:{{obj.name}}</div><div
|
||||
class="sub-list-tab sub-list-tab-active">{{$t("config.dc.cabinets")}}</div>
|
||||
</div>
|
||||
<div class="top-tool-right">
|
||||
|
||||
@@ -591,6 +591,7 @@ const cn = {
|
||||
dc: {
|
||||
dc: "数据中心",
|
||||
area: "地区",
|
||||
dcName: 'DC名称',
|
||||
selectArea: "选择地区",
|
||||
cabinetNum: "机柜数量",
|
||||
assets: "资产",
|
||||
|
||||
@@ -567,6 +567,7 @@ const en = {
|
||||
dc: {
|
||||
dc: 'Data center',
|
||||
area: "Area",
|
||||
dcName: 'DC name',
|
||||
selectArea: 'Select area',
|
||||
cabinetNum: "Cabinet number",
|
||||
assets: "Assets",
|
||||
|
||||
@@ -108,11 +108,11 @@
|
||||
<div class="pagination-bottom" v-show="!bottomBox.showSubList">
|
||||
<Pagination :tableId="tableId" :pageObj="pageObj" @pageNo='pageNo' @pageSize='pageSize' ref="Pagination"></Pagination>
|
||||
</div>
|
||||
</div>
|
||||
<transition name="el-zoom-in-bottom">
|
||||
<bottom-box v-if="bottomBox.showSubList" :sub-resize-show="bottomBox.subResizeShow" :obj="bottomBox.dc" :is-full-screen="bottomBox.isFullScreen" :from="'dc'" :target-tab.sync="bottomBox.targetTab" :detail="bottomBox.dcDetail"
|
||||
@closeSubList="bottomBox.showSubList = false" @fullScreen="fullScreen" @exitFullScreen="exitFullScreen" @listResize="listResize" ></bottom-box>
|
||||
</transition>
|
||||
</div>
|
||||
<!--dc table end-->
|
||||
<transition name="right-box">
|
||||
<dc-box @close="closeDcBox" :dc="dc" :user-data="userData" @reload="getTableData" v-if="rightBox.dc.show"></dc-box>
|
||||
|
||||
Reference in New Issue
Block a user