Commit ede0ff04 authored by wuhao's avatar wuhao 🎯

asder

parent f59d6525
......@@ -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": "",
......
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment