eoss-ui 0.5.46 → 0.5.48

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.
@@ -14,7 +14,7 @@
14
14
  flex: 1;
15
15
  }
16
16
  }
17
- .required{
17
+ .required {
18
18
  .el-textarea__inner::placeholder {
19
19
  color: red;
20
20
  }
@@ -169,7 +169,7 @@
169
169
  .es-flow-index .el-input.is-disabled .el-input__inner {
170
170
  color: #606266;
171
171
  }
172
- .es-flow-index .btn {
172
+ .es-flow-index .es-flow-btn {
173
173
  margin-right: 10px;
174
174
  }
175
175
  .es-flow-index .es-info {
@@ -55,21 +55,21 @@ export default {
55
55
  searchValue: {
56
56
  deep: true,
57
57
  handler(val) {
58
- this.searchData = val;
58
+ this.searchData = JSON.parse(JSON.stringify(val));
59
59
  }
60
60
  },
61
61
  advanceValue: {
62
62
  deep: true,
63
63
  handler(val) {
64
- this.advancedData = val;
64
+ this.advancedData = JSON.parse(JSON.stringify(val));
65
65
  }
66
66
  }
67
67
  },
68
68
  data() {
69
69
  return {
70
70
  show: false,
71
- searchData: this.searchValue,
72
- advancedData: this.advanceValue
71
+ searchData: JSON.parse(JSON.stringify(this.searchValue)),
72
+ advancedData: JSON.parse(JSON.stringify(this.advanceValue))
73
73
  };
74
74
  },
75
75
  created() {
@@ -116,13 +116,14 @@ export default {
116
116
  },
117
117
  hanleReset() {
118
118
  this.$refs.filter && this.$refs.filter.resetFields();
119
- this.searchData = {};
120
- this.advancedData = {};
121
- this.$emit('reset');
119
+ this.searchData = JSON.parse(JSON.stringify(this.searchValue));
120
+ this.advancedData = JSON.parse(JSON.stringify(this.advanceValue));
121
+ this.$emit('reset', this.searchData);
122
122
  },
123
123
  hanleCancel() {
124
124
  this.show = false;
125
- this.$emit('cancel');
125
+ this.advancedData = JSON.parse(JSON.stringify(this.advanceValue));
126
+ this.$emit('cancel', this.advancedData);
126
127
  }
127
128
  },
128
129
  render(h) {
package/src/index.js CHANGED
@@ -119,7 +119,7 @@ if (typeof window !== 'undefined' && window.Vue) {
119
119
  }
120
120
 
121
121
  export default {
122
- version: '0.5.46',
122
+ version: '0.5.48',
123
123
  install,
124
124
  Button,
125
125
  ButtonGroup,