update 22
This commit is contained in:
@@ -53,6 +53,14 @@
|
||||
required
|
||||
hint="Java 정규식 문법을 사용합니다."
|
||||
/>
|
||||
<FormInput
|
||||
v-model="form.excludeRegex"
|
||||
label="제외 정규식"
|
||||
type="textarea"
|
||||
:rows="2"
|
||||
placeholder="예: throws\\s+(Exception|java\\.lang\\.Exception)"
|
||||
hint="이 패턴에 매칭되면 에러에서 제외됩니다. (선택)"
|
||||
/>
|
||||
<FormInput
|
||||
v-model="form.severity"
|
||||
label="심각도"
|
||||
@@ -177,6 +185,7 @@ const editId = ref(null)
|
||||
const form = ref({
|
||||
name: '',
|
||||
regex: '',
|
||||
excludeRegex: '',
|
||||
severity: 'ERROR',
|
||||
contextLines: 5,
|
||||
description: '',
|
||||
@@ -213,6 +222,7 @@ const openAddModal = () => {
|
||||
form.value = {
|
||||
name: '',
|
||||
regex: '',
|
||||
excludeRegex: '',
|
||||
severity: 'ERROR',
|
||||
contextLines: 5,
|
||||
description: '',
|
||||
@@ -228,6 +238,7 @@ const openEditModal = (pattern) => {
|
||||
form.value = {
|
||||
name: pattern.name,
|
||||
regex: pattern.regex,
|
||||
excludeRegex: pattern.excludeRegex || '',
|
||||
severity: pattern.severity,
|
||||
contextLines: pattern.contextLines,
|
||||
description: pattern.description || '',
|
||||
|
||||
Reference in New Issue
Block a user