|
@@ -209,12 +209,12 @@ export default {
|
|
|
|
|
|
},
|
|
|
refresh () {
|
|
|
- if ((this.queryParam.currentGoldMin && this.queryParam.currentGoldMax) && (this.queryParam.currentGoldMin >= this.queryParam
|
|
|
- .currentGoldMax)) {
|
|
|
+ // const isVal = this.queryParam.currentGoldMin && this.queryParam.currentGoldMin != 0
|
|
|
+ if (((this.queryParam.currentGoldMin && this.queryParam.currentGoldMin != 0) && this.queryParam.currentGoldMax) && (this.queryParam.currentGoldMin >= this.queryParam.currentGoldMax)) {
|
|
|
this.$message.error('请输入正确的查询范围!')
|
|
|
return
|
|
|
}
|
|
|
- if ((!this.queryParam.currentGoldMin && this.queryParam.currentGoldMax) || (this.queryParam.currentGoldMin && !this.queryParam.currentGoldMax)) {
|
|
|
+ if (((!this.queryParam.currentGoldMin && this.queryParam.currentGoldMin != 0) && this.queryParam.currentGoldMax) || (this.queryParam.currentGoldMin && !this.queryParam.currentGoldMax)) {
|
|
|
this.$message.error('请输入正确的查询范围!')
|
|
|
return
|
|
|
} else {
|