| | |
| | | |
| | | <script> |
| | | import AssetsHead from "@/components/Transform/assets-head/index.vue"; |
| | | import { Popup, Uploader } from "vant"; |
| | | import { Popup, Uploader, showToast } from "vant"; |
| | | import { _uploadImage, _getLoan, _loanApply } from "@/service/fund.api"; |
| | | // import {debounce} from "@/utils/utis"; |
| | | |
| | |
| | | submit() { |
| | | // console.log('this.frontFile',this.frontFile) |
| | | if (!this.frontFile.length || !this.reverseFile.length || !this.fileList.length) { |
| | | this.$toast(this.$t('请上传完整证件信息')) |
| | | showToast(this.$t('请上传完整证件信息')) |
| | | return |
| | | } |
| | | _loanApply({ |
| | |
| | | // console.log('res',res) |
| | | this.$router.push('/cryptos/loanHistory') |
| | | }).catch(err => { |
| | | this.$toast(this.$t(err.msg)) |
| | | showToast(this.$t(err.msg)) |
| | | }) |
| | | }, |
| | | // //防抖 |