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

fix

parent 729679e3
......@@ -134,30 +134,6 @@ export default defineComponent({
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: {
min_: {
get(): number | string | undefined {
......
......@@ -239,7 +239,7 @@ export default defineComponent({
this.show = v;
},
checkInterstValid(): boolean {
let isValid = false;
let isValid = true;
if (this.max && this.min) {
isValid = false;
if (this.max <= this.min) Toast.fail("最高利率必须大于最低利率");
......@@ -249,7 +249,7 @@ export default defineComponent({
return isValid;
},
checkAmountValid(): boolean {
let isValid = false;
let isValid = true;
if (this.max2 && this.min2) {
if (this.max2 <= this.min2) {
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