pengjing 3 months ago
parent
commit
25aa2eff24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h5app/src/utils/position.ts

+ 1 - 1
h5app/src/utils/position.ts

@@ -35,7 +35,7 @@ export function getPosition() {
                 resolve(data)
                 resolve(data)
             }, function () {
             }, function () {
                 // eslint-disable-next-line prefer-rest-params
                 // eslint-disable-next-line prefer-rest-params
-                /*reject(arguments)*/
+                reject(arguments)
             }, {
             }, {
                 enableHighAccuracy: true,
                 enableHighAccuracy: true,
                 timeout: 10000
                 timeout: 10000