imeik-bizui 2.4.7 → 2.4.8
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/dist/bizui/src/FieldDateSelect/index.vue +16 -0
- package/dist/imeik-bizui.common.js +89 -61
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +89 -61
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +2 -2
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
:format="format"
|
|
18
18
|
:value-format="valueFormat"
|
|
19
19
|
:disabled="attrs.disabled || false"
|
|
20
|
+
:editable="attrs.editable === undefined ? false : attrs.editable"
|
|
21
|
+
:popper-class="popperClass"
|
|
20
22
|
v-on="listeners"
|
|
21
23
|
@change="onUpdate"
|
|
22
24
|
/>
|
|
@@ -140,6 +142,12 @@ export default {
|
|
|
140
142
|
return 'yyyy-MM-dd'
|
|
141
143
|
}
|
|
142
144
|
},
|
|
145
|
+
|
|
146
|
+
popperClass() {
|
|
147
|
+
const customClass = this.attrs.popperClass || ''
|
|
148
|
+
return customClass ? `field-date-select-popper ${customClass}` : 'field-date-select-popper'
|
|
149
|
+
},
|
|
150
|
+
|
|
143
151
|
showDiff() {
|
|
144
152
|
return this.attrs.showDiff || false
|
|
145
153
|
},
|
|
@@ -245,3 +253,11 @@ export default {
|
|
|
245
253
|
}
|
|
246
254
|
}
|
|
247
255
|
</script>
|
|
256
|
+
|
|
257
|
+
<!-- 下拉挂 body,scoped 无效;限制宽度避免移动端超出视口 -->
|
|
258
|
+
<style lang="scss">
|
|
259
|
+
.field-date-select-popper {
|
|
260
|
+
max-width: 100%;
|
|
261
|
+
overflow-x: auto;
|
|
262
|
+
}
|
|
263
|
+
</style>
|