shijiplus-web-plugin 0.1.57 → 0.1.58

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": "shijiplus-web-plugin",
3
- "version": "0.1.57",
3
+ "version": "0.1.58",
4
4
  "files": [
5
5
  "src"
6
6
  ],
@@ -163,10 +163,10 @@ export default {
163
163
  initialDate: {
164
164
  // 监听format属性变化
165
165
  handler(val) {
166
- if (val.begin) {
166
+ if (val.begin && !this.begin) {
167
167
  this.beginChange(this.$formatDate(val.begin, this.beginFormat))
168
168
  }
169
- if (val.end) {
169
+ if (val.end && !this.end) {
170
170
  this.endChange(this.$formatDate(val.end, this.endFormat))
171
171
  }
172
172
  },