From c1857baa3a4fbce727da5de733fe30d38477978f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 25 四月 2024 15:05:09 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/intention/index.vue | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/views/repositoryai/intention/index.vue b/src/views/repositoryai/intention/index.vue index 1d7202d..0b3eb02 100644 --- a/src/views/repositoryai/intention/index.vue +++ b/src/views/repositoryai/intention/index.vue @@ -706,7 +706,9 @@ }, //绫诲埆琛ㄥ崟 // 琛ㄦ牸鏁版嵁 targetList: null, - testuserList: [], + testuserList: [ + + ], // 寮瑰嚭灞傛爣棰� title: "", // 鏄惁鏄剧ず寮瑰嚭灞� @@ -1156,8 +1158,22 @@ console.log(row); this.title = "鎸囨爣璇︽儏"; this.indexform = row; + if(!row.targetoptionList[0]){ + row.targetoptionList=[{ + targettype: "1", + targetvalue: "", + targetregex: "", + targetregex2: "", + isoperation: 1, + dynamiccruxs: [], + nodynamiccruxs: [], + dynamiccruxsJson: "", + nodynamiccruxsJson: "", + },] + } this.dynamicTags = row.baseTagList.map(this.processElement); this.testuserList = row.targetoptionList; + this.testvalue = ""; this.indexopen = true; this.measurement = false; }, -- Gitblit v1.9.3