bri-components 1.4.56 → 1.4.57

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.56",
3
+ "version": "1.4.57",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -145,6 +145,11 @@
145
145
  set (val) {
146
146
  this.$set(this.value, this.controlKey, this.$transformDate(val, "-", this.subType));
147
147
  }
148
+ },
149
+ showVal () {
150
+ return this.$isEmptyData(this.curVal)
151
+ ? this.emptyShowVal
152
+ : this.$transformDate(this.curVal, "-", this.subType);
148
153
  }
149
154
  },
150
155
  created () {},