Your Name 4 lat temu
rodzic
commit
58ab9053bc

BIN
src/assets/login-bg.png Wyświetl plik


BIN
src/assets/logo.png Wyświetl plik


+ 2
- 1
src/pages/UserManage/CitySelect.jsx Wyświetl plik

@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';
2 2
 import { Select } from 'antd';
3 3
 
4 4
 import request from '../../utils/request'
5
+const prefix = process.env.NODE_ENV === 'production' ? 'https://channel.fangdeal.cn' : ''
5 6
 
6 7
 const { Option } = Select;
7 8
 
@@ -20,7 +21,7 @@ const CitySelect = (props) => {
20 21
 
21 22
   const getCityList = (e) => {
22 23
     request({
23
-        url: '/api/center/tdCity',
24
+        url: prefix + '/api/center/tdCity',
24 25
         method: 'GET',
25 26
         params: {leveltype: 2, pageNum: 1,pageSize: 999},
26 27
         action: 'select',