11
zhaoxiaoqiang
2022-08-04 d063f9f7e8a8150a32b8af619d38929024e2bf24
src/components/upload/uploadIdCard.vue
@@ -315,11 +315,11 @@
    handleMenuSelect(item, index) {
      console.log(this.$refs.androidInputFileCapture.click(),index);
      if (index === 0) {
        this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
        // this.$refs.androidInputFileCapture.select();
        // this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click'))
        this.$refs.androidInputFileCapture.ontouch();
      } else {
        this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
        // this.$refs.androidInputFileImage.select();
        // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click'))
        this.$refs.androidInputFileImage.touch();
      }
      this.selectModel = false;
    },