Commit c9e02b1d authored by 邓晓峰's avatar 邓晓峰

fix: test release

parent 8a4f9a9c
...@@ -22,7 +22,7 @@ const DeviceTree = (props) => { ...@@ -22,7 +22,7 @@ const DeviceTree = (props) => {
const [treeData, setTreeData] = useState([]); const [treeData, setTreeData] = useState([]);
const [params, setParams] = useState({}); const [params, setParams] = useState({});
const noop = () => { const noop = () => {
console.log('noop12'); console.log('noop123');
}; };
useEffect(() => { useEffect(() => {
const param = { const param = {
......
...@@ -29,9 +29,8 @@ async function release() { ...@@ -29,9 +29,8 @@ async function release() {
const locMap = {}; const locMap = {};
pkgList.forEach((item) => { pkgList.forEach((item) => {
const location = item.location.split(sep); const location = item.location.split(sep);
locMap[location[location.length - 1]] = `${location[location.length - 2]}/${ const componentName = item.name.split('/')[1];
location[location.length - 1] locMap[componentName] = `${location[location.length - 2]}/${location[location.length - 1]}`;
}`;
}); });
console.log(locMap); console.log(locMap);
// Check git status // Check git status
......
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