src/views/h5/faceAuth/components/camera.vue
@@ -15,7 +15,6 @@ </template> <script> import { uploadByBase64 } from '@/utils/tool.js' export default { data () { return { @@ -197,7 +196,6 @@ }, async uploadBase64(){ // 上传图片 let base64 = this.$refs.canvasEl.toDataURL("image/png", 1); // const url = await uploadByBase64(base64, '核验照片') if (base64) { this.$emit('handlerSuccess', base64) this.closeCamera()