| | |
| | | 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.touch(); |
| | | } 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; |
| | | }, |