Commit 248b821f authored by Zhang Xiaojie's avatar Zhang Xiaojie

fix

parent 729679e3
...@@ -134,30 +134,6 @@ export default defineComponent({ ...@@ -134,30 +134,6 @@ export default defineComponent({
required: true, required: true,
}, },
}, },
methods: {
// checkInterstValid(): boolean {
// let isValid = false;
// if (this.max && this.min) {
// isValid = false;
// if (this.max <= this.min) Toast.fail("最高利率必须大于最低利率");
// } else {
// isValid = true;
// }
// return isValid;
// },
// checkAmountValid(): boolean {
// let isValid = false;
// if (this.max2 && this.min2) {
// if (this.max2 <= this.min2) {
// isValid = false;
// Toast.fail("最高额度必须大于最低额度");
// } else {
// isValid = true;
// }
// }
// return isValid;
// },
},
computed: { computed: {
min_: { min_: {
get(): number | string | undefined { get(): number | string | undefined {
......
...@@ -239,7 +239,7 @@ export default defineComponent({ ...@@ -239,7 +239,7 @@ export default defineComponent({
this.show = v; this.show = v;
}, },
checkInterstValid(): boolean { checkInterstValid(): boolean {
let isValid = false; let isValid = true;
if (this.max && this.min) { if (this.max && this.min) {
isValid = false; isValid = false;
if (this.max <= this.min) Toast.fail("最高利率必须大于最低利率"); if (this.max <= this.min) Toast.fail("最高利率必须大于最低利率");
...@@ -249,7 +249,7 @@ export default defineComponent({ ...@@ -249,7 +249,7 @@ export default defineComponent({
return isValid; return isValid;
}, },
checkAmountValid(): boolean { checkAmountValid(): boolean {
let isValid = false; let isValid = true;
if (this.max2 && this.min2) { if (this.max2 && this.min2) {
if (this.max2 <= this.min2) { if (this.max2 <= this.min2) {
isValid = false; isValid = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment