meixioacomponent 1.1.40 → 1.1.42
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/lib/meixioacomponent.common.js +40 -36
- package/lib/meixioacomponent.umd.js +38 -34
- package/lib/meixioacomponent.umd.min.js +2 -2
- package/package.json +1 -1
- package/packages/components/base/baseNumberInput/index.vue +5 -1
- package/packages/components/searchHeader/searchHeader.vue +9 -0
- package/packages/config/use/useDrag.js +2 -2
package/package.json
CHANGED
|
@@ -126,7 +126,11 @@ export default {
|
|
|
126
126
|
|
|
127
127
|
onChange(currentValue) {
|
|
128
128
|
this.$nextTick(() => {
|
|
129
|
-
if (
|
|
129
|
+
if (currentValue === 0) {
|
|
130
|
+
this.$nextTick(() => {
|
|
131
|
+
this.module = this.$props.min;
|
|
132
|
+
})
|
|
133
|
+
} else if (!currentValue) {
|
|
130
134
|
this.$nextTick(() => {
|
|
131
135
|
this.module = this.$props.defaultValue;
|
|
132
136
|
})
|
|
@@ -97,9 +97,18 @@ export default {
|
|
|
97
97
|
.search-header-config-wrap {
|
|
98
98
|
width: calc(100% - 220px);
|
|
99
99
|
|
|
100
|
+
/deep/ .el-scrollbar__wrap {
|
|
101
|
+
overflow-y: hidden !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
100
104
|
/deep/ .el-scrollbar__view {
|
|
101
105
|
height: 100%;
|
|
102
106
|
display: flex;
|
|
107
|
+
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/deep/ .is-vertical {
|
|
111
|
+
display: none !important;
|
|
103
112
|
}
|
|
104
113
|
|
|
105
114
|
.search-header-config-content {
|
|
@@ -18,9 +18,9 @@ class UseDrag {
|
|
|
18
18
|
const screenWidth = document.body.clientWidth; // body当前宽度
|
|
19
19
|
const screenHeight = document.documentElement.clientHeight; // 可见区域高度(应为body高度,可某些环境下无法获取)
|
|
20
20
|
const targetWidth = target.clientWidth; // 对话框宽度
|
|
21
|
-
const
|
|
21
|
+
const targetHeight = target.clientHeight; // 对话框高度
|
|
22
22
|
this.maxLeft = screenWidth - targetWidth;
|
|
23
|
-
this.maxTop = screenHeight -
|
|
23
|
+
this.maxTop = screenHeight - targetHeight;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
removeListen() {
|