Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-admin
Commits
893ad966
Commit
893ad966
authored
Nov 18, 2020
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-system
into dev
parents
c6b1b5e5
7c493dd5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
config.ts
config/config.ts
+2
-1
package.json
package.json
+2
-2
index.ts
src/constants/index.ts
+2
-0
index.tsx
src/pages/platformSettlement/corporateAccount/index.tsx
+2
-2
No files found.
config/config.ts
View file @
893ad966
...
...
@@ -14,7 +14,8 @@ export default defineConfig({
// 如需写入环境变量 需在config中先写入
define
:
{
"process.env.SITE_ID"
:
process
.
env
.
SITE_ID
,
"process.env.BACK_GATEWAY"
:
process
.
env
.
BACK_GATEWAY
"process.env.BACK_GATEWAY"
:
process
.
env
.
BACK_GATEWAY
,
'process.env.SOCKET_URL'
:
process
.
env
.
SOCKET_URL
},
locale
:
{
antd
:
true
,
...
...
package.json
View file @
893ad966
...
...
@@ -18,8 +18,8 @@
"prettier"
:
"prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'"
,
"test"
:
"umi-test"
,
"test:coverage"
:
"umi-test --coverage"
,
"start:cross"
:
"cross-env SITE_ID=352 yarn start"
,
"start:cross-dev"
:
"cross-env SITE_ID=352 yarn start"
,
"start:cross"
:
"cross-env SITE_ID=352
SOCKET_URL=ws://10.0.0.25:8100
yarn start"
,
"start:cross-dev"
:
"cross-env SITE_ID=352
SOCKET_URL=ws://10.0.0.25:8100
yarn start"
,
"start:10"
:
"cross-env SITE_ID=1 BACK_GATEWAY=http://10.0.0.10:8100 yarn start"
},
"lint-staged"
:
{
...
...
src/constants/index.ts
View file @
893ad966
export
const
NOT_CHANGE_VALUE
=
'hello, world'
// socket的链接地址, 默认会使用后端接口网关地址
export
const
SOCKET_URL
=
process
.
env
.
SOCKET_URL
||
process
.
env
.
BACK_GATEWAY
?.
replace
(
'http'
,
'ws'
)
||
"ws://10.0.0.25:9400"
// 会员角色类型
export
const
MEMBER_ROLE_LISTS
=
[
...
...
src/pages/platformSettlement/corporateAccount/index.tsx
View file @
893ad966
...
...
@@ -147,8 +147,8 @@ const CorporateAccount = () => {
message
:
'请填写账号名称'
,
dataIndex
:
'name'
,
image
:
company
,
value
:
data
.
name
,
cacheValue
:
data
.
name
,
value
:
data
&&
data
.
name
||
''
,
cacheValue
:
data
&&
data
.
name
||
''
,
isEdit
:
false
,
canEdit
:
true
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment