|
@@ -177,12 +177,18 @@ const onBack = () => {
|
|
};
|
|
};
|
|
|
|
|
|
const handledUpload = () => {
|
|
const handledUpload = () => {
|
|
- const location = JSON.parse(uni.getStorageSync("location"));
|
|
|
|
- if (!aData.authCheck.includes("2") || location.latitude) {
|
|
|
|
|
|
+ if (!aData.authCheck.includes("2")) {
|
|
showUpload.value = true;
|
|
showUpload.value = true;
|
|
|
|
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ // const location = JSON.parse(uni.getStorageSync("location"));
|
|
|
|
+
|
|
|
|
+ // if (!aData.authCheck.includes("2") || location.latitude) {
|
|
|
|
+ // showUpload.value = true;
|
|
|
|
+
|
|
|
|
+ // return;
|
|
|
|
+ // }
|
|
uni.getSetting({
|
|
uni.getSetting({
|
|
success: (res) => {
|
|
success: (res) => {
|
|
if (!res.authSetting["scope.address"]) {
|
|
if (!res.authSetting["scope.address"]) {
|