From e8fb5c107625b4896a2be5983b6aece0367fff0e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 12 四月 2024 18:34:15 +0800 Subject: [PATCH] 测试完成 --- src/components/Regular/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue index 5f23dca..6d64170 100644 --- a/src/components/Regular/index.vue +++ b/src/components/Regular/index.vue @@ -253,8 +253,8 @@ regexno = regexno.slice(0, -1); hostregex = "(?=.*(?:" + `${regex}` + ")).*$"; hostregexno = "^(?!.(?:" + `${regexno}` + ")).*$"; - this.TargetoptionList[index].hostregex = hostregex; - this.TargetoptionList[index].hostregex2 = hostregexno; + this.TargetoptionList[index].targetregex = hostregex; + this.TargetoptionList[index].targetregex2 = hostregexno; console.log(hostregex, "纭畾瀛楀尮閰�"); console.log(hostregexno, "鍚﹀畾瀛楀尮閰�"); this.handleSelectionChange(); @@ -285,7 +285,9 @@ this.generateRegex(item); }, handleInputConfirm(row) { + console.log(this.TargetoptionList, "TargetoptionList"); let index = this.TargetoptionList.indexOf(row); + console.log(1112); if (this.whether == 1 && this.inputValue) { if ( this.TargetoptionList[index].dynamiccruxs.indexOf(this.inputValue) == -- Gitblit v1.9.3