scorpio há 2 anos atrás
pai
commit
f8699cb55d

+ 1 - 1
src/views/invest/components/amount.vue

@@ -138,7 +138,7 @@ export default {
           for (let i = 1; i <= 12; i++) {
             const item = { label: i + '月', value: i }
             this.selectOption.push(item)
-            this.month = 1
+            this.month = ''
             this.quarter = ''
           }
           break

+ 1 - 1
src/views/invest/components/complete.vue

@@ -136,7 +136,7 @@ export default {
           for (let i = 1; i <= 12; i++) {
             const item = { label: i + '月', value: i }
             this.selectOption.push(item)
-            this.month = 1
+            this.month = ''
             this.quarter = ''
           }
           break

+ 3 - 1
src/views/invest/components/left.vue

@@ -49,7 +49,9 @@ export default {
             e.checked = false
             return e
           })
-          this.change(0)
+          if (this.active !== -1) {
+            this.change(0)
+          }
         } else {
           this.$message.error(res.msg)
         }