Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms
Project
Project
Details
Activity
Releases
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
wuhao
wms
Commits
ede0ff04
Commit
ede0ff04
authored
Jul 01, 2022
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
f59d6525
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
proxy.js
config/proxy.js
+1
-1
index.jsx
src/pages/platform/Specialproperties/index.jsx
+8
-3
No files found.
config/proxy.js
View file @
ede0ff04
...
...
@@ -11,7 +11,7 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/wms/"
:
{
// 要代理的地址
target
:
"http://192.168.40.
212:18040/"
,
//39:18040 23/wms/ //60 翔
target
:
"http://192.168.40.
18:18040/"
,
//39:18040 23/wms/ //60 翔 //18
changeOrigin
:
true
,
pathRewrite
:
{
"^/wms"
:
""
,
...
...
src/pages/platform/Specialproperties/index.jsx
View file @
ede0ff04
...
...
@@ -81,10 +81,10 @@ const Specialproperties = (props) => {
};
const
searchTree
=
(
val
,
e
)
=>
{
let
value
;
if
(
e
)
{
value
=
e
.
target
.
value
;
}
else
{
if
(
val
)
{
value
=
val
;
}
else
{
value
=
e
.
target
.
value
;
}
const
dataLists
=
getAllList
();
const
expandedKeys
=
dataLists
...
...
@@ -101,6 +101,10 @@ const Specialproperties = (props) => {
searchValue
:
{
formName
:
value
},
});
};
const
selectTree
=
(
selectedKeys
,
selectedNodes
)
=>
{
const
dataLists
=
getAllList
();
let
checkedNode
=
dataLists
.
filter
((
it
)
=>
it
.
key
==
selectedKeys
[
0
])[
0
];
...
...
@@ -142,6 +146,7 @@ const Specialproperties = (props) => {
placeholder=
"请输入"
onSearch=
{
searchTree
}
allowClear
/>
<
Tree
onExpand=
{
onExpand
}
...
...
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