Baozhangchao 3 år sedan
förälder
incheckning
0355f0b3b1

+ 2
- 2
config/dev.js Visa fil

@@ -7,8 +7,8 @@ module.exports = {
7 7
     // HOST: '"https://www.newhousehold.cn"',
8 8
     HOST: '"http://192.168.89.147:8081"',
9 9
 
10
-    WSS_HOST: '"wss://www.newhousehold.cn"',
11
-    // WSS_HOST: '"wss://xlk.njyz.tech"',
10
+    // WSS_HOST: '"wss://www.newhousehold.cn"',
11
+    WSS_HOST: '"wss://xlk.njyz.tech"',
12 12
     OSS_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
13 13
     OSS_FAST_PATH: '"https://xlk-assets.oss-cn-shanghai.aliyuncs.com/"',
14 14
     ICON_FONT: '"https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/css/iconfont.ttf"',

+ 1
- 1
src/pages/mine/addCustomer/components/BuildingPicker.jsx Visa fil

@@ -7,7 +7,7 @@ import { ROLE_CODE } from '@/constants/user'
7 7
 
8 8
 export default (props) => {
9 9
 
10
-  const { type = '', change = () => {} } = props
10
+  const { type = '', change = () => { } } = props
11 11
   const city = useSelector(state => state.city)
12 12
   const [dicts, setDicts] = useState([])
13 13
 

+ 1
- 1
src/pages/mine/addCustomer/index.jsx Visa fil

@@ -63,7 +63,7 @@ export default withLayout((props) => {
63 63
       Taro.showToast({ title: '请填写正确的客户电话', icon: 'none' })
64 64
       return false
65 65
     }
66
-    if (buildingId === null && personType !== ROLE_CODE.CUSTOMER) {
66
+    if (buildingId === null || personType !== ROLE_CODE.CUSTOMER) {
67 67
       Taro.showToast({ title: '请选择客户的意向楼盘', icon: 'none' })
68 68
       return false
69 69
     }