zhaoxiaoqiang
2022-08-04 4acbc1b6d71253e2d3290c4d77b72e0b13851fd3
src/components/upload/uploadIdCard.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2019-08-30 18:04:49
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-04 15:46:27
 * @LastEditTime: 2022-08-04 15:56:41
 * @Description:
 -->
<template>
@@ -313,11 +313,11 @@
    },
    // 选择拍照或者相册选项
    handleMenuSelect(item, index) {
      console.log(this.$refs.$el,index)
      console.log(this.$refs.androidInputFileCapture.click(),index);
      if (index === 0) {
        this.$refs.androidInputFileCapture.click();
        this.$refs.androidInputFileCapture.tap();
      } else {
        this.$refs.androidInputFileImage.click();
        this.$refs.androidInputFileImage.tap();
      }
      this.selectModel = false;
    },