mooho-base-admin-plus 2.8.24 → 2.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/history.md CHANGED
@@ -165,3 +165,5 @@ mooho-base-admin-plus@2.8.21 - 增加lodop配置
165
165
  mooho-base-admin-plus@2.8.22 - 引入default-passive-events阻止警告
166
166
  mooho-base-admin-plus@2.8.23 - 修复点击整行选中的bug
167
167
  mooho-base-admin-plus@2.8.24 - 优化表格全屏
168
+ mooho-base-admin-plus@2.8.25 - 优化表格全屏
169
+ mooho-base-admin-plus@2.8.26 - 优化表格全屏
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.8.24",
4
+ "version": "2.8.26",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -3,7 +3,7 @@
3
3
  ref="modal"
4
4
  v-model="opened"
5
5
  scrollable
6
- :fullscreen="isFullScreen"
6
+ :fullscreen="isFullscreen"
7
7
  :mask-closable="maskClosable == null ? layout.maskClosable : maskClosable"
8
8
  :draggable="draggable == null ? layout.draggable : draggable"
9
9
  :sticky="true"
@@ -26,8 +26,8 @@
26
26
  </template>
27
27
  <template #close>
28
28
  <div @click.stop>
29
- <Icon v-if="!isFullScreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-expand" @click="setFullScreen(true)" />
30
- <Icon v-if="isFullScreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-contract" @click="setFullScreen(false)" />
29
+ <Icon v-if="!isFullscreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-expand" @click="setFullscreen(true)" />
30
+ <Icon v-if="isFullscreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-contract" @click="setFullscreen(false)" />
31
31
  <Icon type="ios-close" @click="clickClose()" />
32
32
  </div>
33
33
  </template>
@@ -157,7 +157,7 @@
157
157
  data() {
158
158
  return {
159
159
  opened: false,
160
- isFullScreen: false,
160
+ isFullscreen: false,
161
161
  tableView: {},
162
162
  param: {}
163
163
  };
@@ -617,11 +617,10 @@
617
617
  */
618
618
  this.$emit('on-cell-click', row, column, data, event);
619
619
  },
620
- setFullScreen(isFullScreen) {
621
- console.log('setFullScreen', isFullScreen);
622
- this.$refs.table.isMaxHight = isFullScreen;
620
+ setFullscreen(isFullscreen) {
621
+ this.$refs.table.isMaxHight = isFullscreen;
623
622
 
624
- this.isFullScreen = isFullScreen;
623
+ this.isFullscreen = isFullscreen;
625
624
  }
626
625
  }
627
626
  };
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div :class="{ 'full-screen': isFullScreen }">
2
+ <div :class="{ 'full-screen': isFullscreen }">
3
3
  <Divider :plain="true" v-if="title != null" dashed orientation="left" size="small">
4
4
  <span class="title">{{ title }}</span>
5
5
  </Divider>
@@ -73,7 +73,7 @@
73
73
  v-if="settingEnable && allow('permission/tableView')"
74
74
  @click="filterSettingOpen"
75
75
  />
76
- <Button v-if="tableView.fullEnable" type="info" title="全屏" custom-icon="fa fa-expand-arrows-alt" size="small" @click="isFullScreen = !isFullScreen" />
76
+ <Button v-if="tableView.fullEnable" type="info" title="全屏" custom-icon="fa fa-expand-arrows-alt" size="small" @click="isFullscreen = !isFullscreen" />
77
77
  </FormItem>
78
78
  </Col>
79
79
  </slot>
@@ -738,7 +738,7 @@
738
738
  commandButtons: [],
739
739
  preview: false,
740
740
  imageUrl: null,
741
- isFullScreen: false,
741
+ isFullscreen: false,
742
742
  isMaxHight: false,
743
743
  commandButtonParams: null
744
744
  };
@@ -1001,7 +1001,7 @@
1001
1001
  zoom = 1 / window.devicePixelRatio;
1002
1002
  }
1003
1003
 
1004
- if (this.isFullScreen) {
1004
+ if (this.isFullscreen) {
1005
1005
  return document.body.offsetHeight / zoom - 100 - this.$refs.filterCommand.offsetHeight / zoom;
1006
1006
  }
1007
1007
  if (this.isMaxHight) {