zhaoxiaoqiang
2022-08-04 fa4941dabf55bdfb94be93f6c482728bfd64f9f3
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:59:33
 * @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.select();
      } else {
        this.$refs.androidInputFileImage.click();
        this.$refs.androidInputFileImage.select();
      }
      this.selectModel = false;
    },