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
|
@@ -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:
|
|
25
|
+
lg: 6, // 大屏(992px-1200px):4个/行
|
|
26
26
|
xl: 6, // 超大屏(1200px-1600px):4个/行
|
|
27
|
-
xxl:
|
|
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) {
|