111
zhaoxiaoqiang
2022-08-04 cfefc555652045d779db09b3c42e5d3af1fca02a
src/components/upload/uploadIdCard.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2019-08-30 18:04:49
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-04 15:59:33
 * @LastEditTime: 2022-08-04 16:08:29
 * @Description:
 -->
<template>
@@ -315,9 +315,11 @@
    handleMenuSelect(item, index) {
      console.log(this.$refs.androidInputFileCapture.click(),index);
      if (index === 0) {
        this.$refs.androidInputFileCapture.select();
        // this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
        this.$refs.androidInputFileCapture.touch();
      } else {
        this.$refs.androidInputFileImage.select();
        // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
        this.$refs.androidInputFileImage.touch();
      }
      this.selectModel = false;
    },