Commit 6b5ec9d2 by 高源

采集表动作界面优化

parent 2e4c4efe
...@@ -14,9 +14,9 @@ function table () { ...@@ -14,9 +14,9 @@ function table () {
* 新生成一个单元格 * 新生成一个单元格
* @param {any} xpath * @param {any} xpath
*/ */
this.newCell = function (xpath) { this.newCell = function (xpath,name) {
_isVerified = false;//加入了 _isVerified = false;//加入了
let newCell = new cell(xpath); let newCell = new cell(xpath,name);
this.cells.push(newCell); this.cells.push(newCell);
} }
/** /**
...@@ -101,7 +101,7 @@ function table () { ...@@ -101,7 +101,7 @@ function table () {
* @param {string} type 元素取值类型,文本,链接,元素路径(点击动作用) * @param {string} type 元素取值类型,文本,链接,元素路径(点击动作用)
* @param {string} title 标题信息 * @param {string} title 标题信息
*/ */
function cell (xpath, name = "", type = "", title = "") { function cell (xpath, name , type = "", title = "") {
/**当前单元格的绝对路径,存入Action时有用 */ /**当前单元格的绝对路径,存入Action时有用 */
this.xpath = xpath; this.xpath = 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