调整代码: ibp盘宽高显示
This commit is contained in:
parent
8b67b34df8
commit
846b267e64
@ -29,7 +29,6 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
mapSaveing: false,
|
mapSaveing: false,
|
||||||
cardHeight: 400,
|
|
||||||
viewDraft: 'draft',
|
viewDraft: 'draft',
|
||||||
autoSaveTask: null,
|
autoSaveTask: null,
|
||||||
selected: null,
|
selected: null,
|
||||||
@ -48,8 +47,12 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
resizeHandler: function () {
|
resizeHandler() {
|
||||||
this.cardHeight = this._clientHeight - 195;
|
this._clientWidth = this._clientWidth || document.documentElement.clientWidth;
|
||||||
|
this._clientHeight = this._clientHeight || document.documentElement.clientHeight;
|
||||||
|
const width = this._clientWidth - 521;
|
||||||
|
const height = this._clientHeight;
|
||||||
|
this.$store.dispatch('config/resize', { width: width, height: height });
|
||||||
},
|
},
|
||||||
endViewLoading(isSuccess) {
|
endViewLoading(isSuccess) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user