This commit is contained in:
lai
2024-11-08 15:24:07 +08:00
parent db16cdb79b
commit 1644765ce2

View File

@@ -364,7 +364,7 @@ function fnModalOk() {
let result = modalState.from.expression; let result = modalState.from.expression;
if (matches) { if (matches) {
matches.forEach((match: any) => { for (const match of matches) {
const valueToReplace = match.slice(1, -1); // 去掉单引号 const valueToReplace = match.slice(1, -1); // 去掉单引号
const found = modalState.neTypPerformance.find( const found = modalState.neTypPerformance.find(
(item: any) => item.label === valueToReplace (item: any) => item.label === valueToReplace
@@ -378,9 +378,9 @@ function fnModalOk() {
}), }),
3 3
); );
return false; return;
}
} }
});
} else { } else {
message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3); message.error(t('views.perfManage.customTarget.expressionNoIdTip'), 3);
return false; return false;
@@ -725,6 +725,7 @@ onMounted(() => {
<a-input <a-input
v-model:value="modalState.from.expression" v-model:value="modalState.from.expression"
:maxlength="1024" :maxlength="1024"
autocomplete="off"
allow-clear allow-clear
> >
</a-input> </a-input>