@ -311,6 +311,7 @@
type: 'gcj02',
isHighAccuracy: true
}).then(res => {
console.log(res)
if (res[1]) {
this.location.lat = res[1]?.latitude
this.location.lng = res[1]?.longitude
@ -420,6 +421,13 @@
clock(files, type) {
if (this.isSubmitConfirm) {
return
}
if (!this.form.lat || !this.form.lng) {
uni.showToast({
icon: 'none',
title: '请重新获取定位信息'
})
let title;
switch (type) {