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

fix: test release

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