调整代码: ibp盘宽高显示
This commit is contained in:
parent
8b67b34df8
commit
846b267e64
@ -29,7 +29,6 @@
|
||||
data() {
|
||||
return {
|
||||
mapSaveing: false,
|
||||
cardHeight: 400,
|
||||
viewDraft: 'draft',
|
||||
autoSaveTask: null,
|
||||
selected: null,
|
||||
@ -48,8 +47,12 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
resizeHandler: function () {
|
||||
this.cardHeight = this._clientHeight - 195;
|
||||
resizeHandler() {
|
||||
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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user