浏览代码

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

张延森 5 年前
父节点
当前提交
dd5a72b077
共有 3 个文件被更改,包括 3 次插入3 次删除
  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 查看文件

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

+ 1
- 1
src/pages/project/index.js 查看文件

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

+ 1
- 1
src/utils/request.js 查看文件

@@ -94,7 +94,7 @@ export const fetch = async (options) => {
94 94
       icon: 'none'
95 95
     })
96 96
 
97
-    throw new Error(err)
97
+    throw new Error(errMessage)
98 98
   })
99 99
 }
100 100