bri-components 1.4.63 → 1.4.64

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": "bri-components",
3
- "version": "1.4.63",
3
+ "version": "1.4.64",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -140,7 +140,7 @@
140
140
  shortcuts: this.getShortCuts(index),
141
141
  disabledDate: (date) => {
142
142
  const curDateStr = this.$transformToDateStr(date, "/", this.subType);
143
- const rangeBool = this.$isWithinRange(curDateStr, this.selfPropsObj._minDate, this.selfPropsObj._maxDate, this.subType);
143
+ const rangeBool = this.$isWithinRange(curDateStr, this.selfPropsObj._minDate, this.selfPropsObj._maxDate);
144
144
 
145
145
  const selfValue = {
146
146
  ...this.value,
@@ -136,7 +136,7 @@
136
136
  shortcuts: this.getShortCuts(index),
137
137
  disabledDate: (date) => {
138
138
  const curDateStr = this.$transformToDateStr(date, "/", this.subType);
139
- const rangeBool = this.$isWithinRange(curDateStr, this.selfPropsObj._minDate, this.selfPropsObj._maxDate, this.subType);
139
+ const rangeBool = this.$isWithinRange(curDateStr, this.selfPropsObj._minDate, this.selfPropsObj._maxDate);
140
140
 
141
141
  return !rangeBool;
142
142
  }
@@ -82,7 +82,7 @@ export default {
82
82
  getVal (val) {
83
83
  return this.isDynDate(val)
84
84
  ? val
85
- : this.$transformDateCompatible(val, this.subType);
85
+ : this.$transformToCompatibleDate(val, this.subType);
86
86
  },
87
87
  transformVal (val) {
88
88
  return this.isDynDate(val)
@@ -306,6 +306,7 @@ export default {
306
306
  _required: false,
307
307
  _br: false,
308
308
  _wrap: false,
309
+ _hideNameInForm: false,
309
310
 
310
311
  _multiple: true,
311
312
  _enterType: undefined,
@@ -28,7 +28,7 @@
28
28
  'DshFormUnit-label-name-show': !canEdit
29
29
  }">
30
30
  <slot name="label">
31
- {{ formItem._name }}
31
+ {{ formItem._hideNameInForm ? "" : formItem._name }}
32
32
 
33
33
  <!-- 有更新标记-->
34
34
  <span