Browse Source

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into v3.5.1

张延森 5 years ago
parent
commit
dd5a72b077
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      project.config.json
  2. 1
    1
      src/pages/project/index.js
  3. 1
    1
      src/utils/request.js

+ 1
- 1
project.config.json View File

2
 	"miniprogramRoot": "dist/",
2
 	"miniprogramRoot": "dist/",
3
 	"projectname": "mini-chengjiao",
3
 	"projectname": "mini-chengjiao",
4
 	"description": "知与行联调",
4
 	"description": "知与行联调",
5
-	"appid": "wxda1f84b79b3edeb3",
5
+	"appid": "wxd9ee3a9480a4e544",
6
 	"setting": {
6
 	"setting": {
7
 		"urlCheck": false,
7
 		"urlCheck": false,
8
 		"es6": false,
8
 		"es6": false,

+ 1
- 1
src/pages/project/index.js View File

101
       const payload = { location: `${location.longitude},${location.latitude}` }
101
       const payload = { location: `${location.longitude},${location.latitude}` }
102
 
102
 
103
       getLocationCity(payload).then(res => {
103
       getLocationCity(payload).then(res => {
104
-
104
+        console.log(res,"!!!!!!!!!!!!!!!!!11res=========")
105
         let curCity = cityList.filter(item => {
105
         let curCity = cityList.filter(item => {
106
           return item.name == res.name
106
           return item.name == res.name
107
         })
107
         })

+ 1
- 1
src/utils/request.js View File

94
       icon: 'none'
94
       icon: 'none'
95
     })
95
     })
96
 
96
 
97
-    throw new Error(err)
97
+    throw new Error(errMessage)
98
   })
98
   })
99
 }
99
 }
100
 
100