fangmingyue 2 年之前
父節點
當前提交
c2882574f3
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      config/dev.js
  2. 1
    1
      src/components/IssueCard/index.jsx

+ 1
- 1
config/dev.js 查看文件

@@ -4,7 +4,7 @@ module.exports = {
4 4
   },
5 5
   defineConstants: {
6 6
     // HOST: '"http://127.0.0.1:9087"',
7
-    HOST: '"http://192.168.89.147:9087"',
7
+    HOST: '"http://localhost:9087"',
8 8
     AD_IMAGE: '"https://h5.njyunzhi.com/images/citizen_banner.png"',
9 9
     DEFAULT_POS: '"116.3476917447715,31.409912844296578"', // 霍山县人民政府 gcj02
10 10
   },

+ 1
- 1
src/components/IssueCard/index.jsx 查看文件

@@ -52,7 +52,7 @@ export default (props) => {
52 52
           <View>问题清单</View>
53 53
         </View>
54 54
         <View>
55
-          <View>{detail?.typeName}</View>
55
+          <View>{detail?.typeName ? detail?.typeName : ' '}</View>
56 56
           <View>{createDate}</View>
57 57
         </View>
58 58
       </View>