|
|
@@ -164,13 +164,14 @@
|
|
|
success: (uploadFileRes) => {
|
|
|
let imgUrl = JSON.parse(uploadFileRes.data)
|
|
|
.data
|
|
|
- if (this.flag == 1) {
|
|
|
- this.handleUploading(imgUrl)
|
|
|
- } else {
|
|
|
- uni.redirectTo({
|
|
|
- url: `/pagesClockIn/authentication/authentication?imgUrl=${imgUrl}&id=${this.id}&address=${this.address}&latitude=${this.latitude}&longitude=${this.longitude}`
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (this.flag == 1) {
|
|
|
+ // this.handleUploading(imgUrl)
|
|
|
+ // } else {
|
|
|
+ // uni.redirectTo({
|
|
|
+ // url: `/pagesClockIn/authentication/authentication?imgUrl=${imgUrl}&id=${this.id}&address=${this.address}&latitude=${this.latitude}&longitude=${this.longitude}`
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ this.handleUploading(imgUrl)
|
|
|
},
|
|
|
fail: () => {
|
|
|
uni.showToast({
|