From f4dcb9cf920f2229d5bab5b989f0ed944cffd46d Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 24 四月 2024 18:40:16 +0800
Subject: [PATCH] 测试完成
---
src/components/Regular/index.vue | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/components/Regular/index.vue b/src/components/Regular/index.vue
index 5f23dca..5de3b58 100644
--- a/src/components/Regular/index.vue
+++ b/src/components/Regular/index.vue
@@ -12,7 +12,7 @@
>
</el-input> </el-form-item
></el-col>
- <el-col :span="12"
+ <el-col :span="12" v-if="intent"
><el-form-item label="閫夐」鑺傜偣">
<el-input
type="text"
@@ -23,7 +23,7 @@
</el-input> </el-form-item
></el-col>
</el-row>
- <el-row :gutter="10">
+ <el-row :gutter="10" v-if="intent">
<el-col :span="12"
><el-form-item label="澶勭悊">
<el-input
@@ -218,6 +218,10 @@
type: Boolean,
default: true,
},
+ intent: {
+ type: Boolean,
+ default: true,
+ },
},
created() {
@@ -253,8 +257,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 +289,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