zhongtianhaoyuan пре 1 година
родитељ
комит
4e4b82121e
3 измењених фајлова са 3 додато и 4 уклоњено
  1. 1 1
      App.vue
  2. 0 1
      pages/mine/index.vue
  3. 2 2
      pages/public/login.vue

+ 1 - 1
App.vue

@@ -393,7 +393,7 @@
 										}
 										this.$helper.gjList.push(_data)
 										uni.setStorageSync('mapGJ', this.$helper.gjList);
-										if (uni.getStorageSync('mapGJ').length > 100) {
+										if (uni.getStorageSync('mapGJ').length > 10) {
 											this.$request.baseRequest('post',
 													'/hyOrderTravelPath/api/addInfo', {
 														orderId: that.id,

+ 0 - 1
pages/mine/index.vue

@@ -22,7 +22,6 @@
 					<u-image @click="goDetailPage('/pages/mine/set')" style='margin-top: -6px;' class='image'
 						:showLoading="true" src="@/static/images/mine/set.png" width="25px" height="25px"></u-image>
 				</view>
-				
 			</view>
 		</view>
 		<view class="content1">

+ 2 - 2
pages/public/login.vue

@@ -386,7 +386,7 @@
 											console.log("查看参数", that.shippingNoteInfos)
 											that.auth()
 											that.$helper.fUN_AmapLocation.start({
-													intervalTime: 5000,
+													intervalTime: 60000,
 													isReport: false
 												},
 												res => {
@@ -406,7 +406,7 @@
 													// console.log('this.$helper.gjList')
 													// console.log(this.$helper.gjList)
 													// console.log("条数", uni.getStorageSync('mapGJ').length)
-													if (uni.getStorageSync('mapGJ').length > 100) {
+													if (uni.getStorageSync('mapGJ').length > 10) {
 														// console.log(JSON.stringify(uni
 														// 	.getStorageSync('mapGJ')))
 														that.$request.baseRequest('post',