Commit 9c1a4b55 authored by chenqikuai's avatar chenqikuai

fix

parent d56bcff5
...@@ -43,9 +43,10 @@ ...@@ -43,9 +43,10 @@
src="@/assets/img/link.png" src="@/assets/img/link.png"
style="width: 14px" style="width: 14px"
@click=" @click="
() => { async () => {
if (slotProps.authentication_subject_nature === 1) { if (slotProps.authentication_subject_nature === 1) {
saveAs(slotProps.authentication_held_front_id_card.url); saveAs(slotProps.authentication_held_front_id_card.url);
await sleep(1000);
saveAs(slotProps.authentication_held_back_id_card.url); saveAs(slotProps.authentication_held_back_id_card.url);
} else { } else {
saveAs(slotProps.authentication_business_license.url); saveAs(slotProps.authentication_business_license.url);
...@@ -88,6 +89,7 @@ import { useTableScrollListener } from "@/components/Table/hooks"; ...@@ -88,6 +89,7 @@ import { useTableScrollListener } from "@/components/Table/hooks";
import Icon from "@/components/Icon/index.vue"; import Icon from "@/components/Icon/index.vue";
import { saveAs } from "file-saver"; import { saveAs } from "file-saver";
import Service from "./Service"; import Service from "./Service";
import { sleep } from "@/utils/promise";
defineProps<{ defineProps<{
data: any[]; data: any[];
......
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