vue2-client 1.18.10 → 1.18.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.18.10",
3
+ "version": "1.18.11",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1320,7 +1320,7 @@ export default {
1320
1320
  } else {
1321
1321
  this.attr.flex = {
1322
1322
  xs: 24,
1323
- sm: 24,
1323
+ sm: 12,
1324
1324
  md: 8,
1325
1325
  lg: 6,
1326
1326
  xl: 6,
@@ -19,12 +19,12 @@ const BREAKPOINTS = {
19
19
  }
20
20
 
21
21
  const defaultFlex = {
22
- xs: 24, // 超小屏(<576px):1个/行,保证手机端可读性
23
- sm: 12, // 小屏(576px-768px):2个/行,满足你的需求
22
+ xs: 24, // 超小屏(<576px):1个/行
23
+ sm: 12, // 小屏(576px-768px):2个/行
24
24
  md: 8, // 中屏(768px-992px):3个/行
25
- lg: 8, // 大屏(992px-1200px):3个/行
25
+ lg: 6, // 大屏(992px-1200px):4个/行
26
26
  xl: 6, // 超大屏(1200px-1600px):4个/行
27
- xxl: 6, // 超超大屏(>1600px):4个/行
27
+ xxl: 4, // 超超大屏(>1600px):4个/行
28
28
  }
29
29
 
30
30
  function debounce (fn, delay) {
@@ -42,14 +42,7 @@ export default {
42
42
  props: {
43
43
  flex: {
44
44
  type: Object,
45
- default: () => ({
46
- xs: 24,
47
- sm: 24,
48
- md: 8,
49
- lg: 6,
50
- xl: 6,
51
- xxl: 6,
52
- }),
45
+ default: () => defaultFlex,
53
46
  },
54
47
  occupyCol: {
55
48
  type: Number,
@@ -802,14 +802,6 @@ export default {
802
802
  this.tableModalVisible = false
803
803
  },
804
804
 
805
- /**
806
- * 暴露给外部的关闭弹框方法
807
- * 父组件可以通过 this.$refs.xformtable.closeModal() 调用
808
- */
809
- closeModal () {
810
- this.closeTableModal()
811
- },
812
-
813
805
  active (props) {
814
806
  let num = false
815
807
  for (const key in props) {