fix:关联测试用例点击行选中

This commit is contained in:
wenyann 2021-03-23 11:24:04 +08:00
parent 23628537a2
commit 14ba48c95b
1 changed files with 8 additions and 0 deletions

View File

@ -439,6 +439,14 @@ export default {
if (this.type === 'edit' || this.type === 'copy') { if (this.type === 'edit' || this.type === 'copy') {
this.open(this.currentTestCaseInfo) this.open(this.currentTestCaseInfo)
} }
// Cascader : input
setInterval(function () {
document.querySelectorAll('.el-cascader-node__label').forEach(el => {
el.onclick = function () {
if (this.previousElementSibling) this.previousElementSibling.click();
};
});
}, 1000);
}, },
watch: { watch: {
treeNodes() { treeNodes() {