Commit 5aa15b7f by 高源

添加未选择元素消息提示

parent cdaf3153
...@@ -198,6 +198,10 @@ export default { ...@@ -198,6 +198,10 @@ export default {
this.$message.error("请填写表名"); this.$message.error("请填写表名");
return; // 找到重复后退出函数 return; // 找到重复后退出函数
} }
if(_this.Xpaths.length==0){
this.$message.error("还未选择元素");
return
}
for (const item of arr) { for (const item of arr) {
if (names.has(item.name)) { if (names.has(item.name)) {
......
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