cyy-vue-material 1.3.4 → 1.3.5
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
|
@@ -108,18 +108,15 @@ export default {
|
|
|
108
108
|
|
|
109
109
|
},
|
|
110
110
|
watch:{
|
|
111
|
-
|
|
112
|
-
handler(){
|
|
111
|
+
filterKey: {
|
|
112
|
+
handler() {
|
|
113
113
|
const {creatDate,priceRange,goodsType}=this.props;
|
|
114
114
|
if(creatDate&&priceRange&&goodsType){
|
|
115
115
|
this.init();
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
// 'props.creatDate'(){ this.init(); },
|
|
121
|
-
// 'props.priceRange'(){ this.init(); },
|
|
122
|
-
// 'props.goodsType'(){ this.init(); },
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
immediate:true,
|
|
119
|
+
},
|
|
123
120
|
},
|
|
124
121
|
methods:{
|
|
125
122
|
formatDate(date){
|
|
@@ -171,7 +168,7 @@ export default {
|
|
|
171
168
|
this.domainNameUrl=getUrl(this);
|
|
172
169
|
const {creatDate,priceRange,goodsType}=this.props;
|
|
173
170
|
if(!creatDate||!priceRange||!goodsType){
|
|
174
|
-
this.
|
|
171
|
+
this.listArr=[];
|
|
175
172
|
return;
|
|
176
173
|
}
|
|
177
174
|
const dateParams=this.parseCreatDate(creatDate);
|