mali-applet-ui 1.0.125 → 1.0.127

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.
@@ -605,6 +605,16 @@ export default {
605
605
  },
606
606
 
607
607
  mobileChange (e) {
608
+ if (this.type === 'date') {
609
+ if (this.start && this.createTimestamp(e.fulldate) < this.createTimestamp(this.start)) {
610
+ this.$refs.mobile.close()
611
+ return
612
+ }
613
+ if (this.end && this.createTimestamp(e.fulldate) > this.createTimestamp(this.end)) {
614
+ this.$refs.mobile.close()
615
+ return
616
+ }
617
+ }
608
618
  if (this.isRange) {
609
619
  const {
610
620
  before,
@@ -21,10 +21,7 @@ export default {
21
21
  props: {
22
22
  data: Array,
23
23
  height: String,
24
- disabled: {
25
- type: Boolean,
26
- default: true
27
- },
24
+ disabled: Boolean,
28
25
  // 是否显示顶部全选按钮
29
26
  showAllCheckbox: Boolean,
30
27
  // 是是否显示顶部操作按钮
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.125",
3
+ "version": "1.0.127",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",