Showing
1 changed file
with
4 additions
and
0 deletions
| ... | @@ -68,6 +68,8 @@ import icon_x from '@images/x.png' | ... | @@ -68,6 +68,8 @@ import icon_x from '@images/x.png' |
| 68 | import icon_y from '@images/y.png' | 68 | import icon_y from '@images/y.png' |
| 69 | import icon_avatar from '@images/que-touxiang@2x.png' | 69 | import icon_avatar from '@images/que-touxiang@2x.png' |
| 70 | 70 | ||
| 71 | +import { useRoute, useRouter } from 'vue-router' | ||
| 72 | + | ||
| 71 | import axios from '@/utils/axios'; | 73 | import axios from '@/utils/axios'; |
| 72 | import _ from 'lodash' | 74 | import _ from 'lodash' |
| 73 | import { Toast } from 'vant'; | 75 | import { Toast } from 'vant'; |
| ... | @@ -77,6 +79,8 @@ import { ref, reactive, onMounted, watch } from 'vue' | ... | @@ -77,6 +79,8 @@ import { ref, reactive, onMounted, watch } from 'vue' |
| 77 | import { idCard } from '@/composables/useValidIdCard.js' | 79 | import { idCard } from '@/composables/useValidIdCard.js' |
| 78 | const validIdCard = idCard(); | 80 | const validIdCard = idCard(); |
| 79 | 81 | ||
| 82 | +const $router = useRouter(); | ||
| 83 | + | ||
| 80 | const props = defineProps({ | 84 | const props = defineProps({ |
| 81 | showPopup: Boolean, | 85 | showPopup: Boolean, |
| 82 | data: Object | 86 | data: Object | ... | ... |
-
Please register or login to post a comment