Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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-platform
Commits
db324e9d
Commit
db324e9d
authored
Oct 14, 2020
by
LeeJiancong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'物流模板配送地址展示'
parent
d6caf595
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
regExp.ts
src/constants/regExp.ts
+1
-1
templateForm.tsx
src/pages/logistics/list/components/templateForm.tsx
+2
-2
No files found.
src/constants/regExp.ts
View file @
db324e9d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: LeeJiancong
* @Author: LeeJiancong
* @Date: 2020-07-22 09:54:50
* @Date: 2020-07-22 09:54:50
* @LastEditors: LeeJiancong
* @LastEditors: LeeJiancong
* @LastEditTime: 2020-10-
09 10:54:23
* @LastEditTime: 2020-10-
12 18:13:49
*/
*/
/**
/**
* 正则表达式集合
* 正则表达式集合
...
...
src/pages/logistics/list/components/templateForm.tsx
View file @
db324e9d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: LeeJiancong
* @Author: LeeJiancong
* @Date: 2020-07-15 10:31:55
* @Date: 2020-07-15 10:31:55
* @LastEditors: LeeJiancong
* @LastEditors: LeeJiancong
* @LastEditTime: 2020-
09-17 17:22:21
* @LastEditTime: 2020-
10-14 15:16:33
*/
*/
import
React
,
{
Component
,
useState
,
useEffect
}
from
'react'
;
import
React
,
{
Component
,
useState
,
useEffect
}
from
'react'
;
import
ReactDOM
from
'react-dom'
import
ReactDOM
from
'react-dom'
...
@@ -108,7 +108,7 @@ const diaLogForm: React.FC<ListProps> = (props) => {
...
@@ -108,7 +108,7 @@ const diaLogForm: React.FC<ListProps> = (props) => {
PublicApi
.
getManageAreaByPcodeAll
({
pcode
:
'100000'
}).
then
(
res
=>
{
PublicApi
.
getManageAreaByPcodeAll
({
pcode
:
'100000'
}).
then
(
res
=>
{
let
list
=
[]
let
list
=
[]
res
.
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
res
.
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
list
.
push
({
label
:
item
.
name
,
value
:
Number
(
item
.
code
)
})
list
.
push
({
label
:
item
.
name
,
value
:
item
.
code
})
})
})
setProvinceList
(
list
)
setProvinceList
(
list
)
})
})
...
...
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