Commit ac56d5e0 by 高源

界面优化

parent dd60d902
......@@ -3,6 +3,7 @@
* @param {object[]} tags 元素集合{xpath=XPath,name=返回的属性名,title=标题信息,type=操作类型:文本,链接,元素路径(点击动作用),relativePath=相对路径(最终的)}
* @returns {any} 返回对象信息{}
*/
// xPaths
function checkTableFromXpaths(tags) {
let rtns = null;
//先找到共同的根以及各路径在共同根下的相对路径
......
......@@ -21,7 +21,6 @@ function getTableData (Xpaths) {
// 返回表格需要的格式
transformedData = foundElements.map((group, index) => {
let transformedGroup = {};
group.elements.forEach((element, elemIndex) => {
transformedGroup[`content${elemIndex}`] = {
Xpath: element.xpath,
......
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