zhangdan 4 년 전
부모
커밋
582f025868
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/userInfo/userManageList.vue

+ 3 - 3
src/views/userInfo/userManageList.vue

@@ -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 {