| | |
| | | <!-- |
| | | * @Date: 2019-08-30 18:04:49 |
| | | * @LastEditors: zxq |
| | | * @LastEditTime: 2022-08-04 15:56:41 |
| | | * @LastEditTime: 2022-08-04 16:08:29 |
| | | * @Description: |
| | | --> |
| | | <template> |
| | |
| | | handleMenuSelect(item, index) { |
| | | console.log(this.$refs.androidInputFileCapture.click(),index); |
| | | if (index === 0) { |
| | | this.$refs.androidInputFileCapture.tap(); |
| | | // this.$refs.androidInputFileCapture.dispatchEvent(new MouseEvent('click')) |
| | | this.$refs.androidInputFileCapture.ontouch(); |
| | | } else { |
| | | this.$refs.androidInputFileImage.tap(); |
| | | // this.$refs.androidInputFileImage.dispatchEvent(new MouseEvent('click')) |
| | | this.$refs.androidInputFileImage.touch(); |
| | | } |
| | | this.selectModel = false; |
| | | }, |