Skip to content

Commit 5e591e4

Browse files
committed
feat: Terminology Management
1 parent 374dc0b commit 5e591e4

File tree

1 file changed

+4
-8
lines changed
  • frontend/src/views/system/professional

1 file changed

+4
-8
lines changed

frontend/src/views/system/professional/index.vue

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ defineProps({
2222
interface Form {
2323
id?: string | null
2424
word: string | null
25-
other_words?: string[] | null
25+
other_words: string[]
26+
description: string | null
2627
}
2728
2829
const { t } = useI18n()
@@ -51,6 +52,7 @@ const dialogTitle = ref('')
5152
const defaultForm = {
5253
id: null,
5354
word: null,
55+
description: null,
5456
other_words: [],
5557
}
5658
const pageForm = ref<Form>(cloneDeep(defaultForm))
@@ -537,13 +539,7 @@ const deleteHandlerItem = (idx: number) => {
537539
:before-close="onRowFormClose"
538540
modal-class="professional-term_drawer"
539541
>
540-
<el-form
541-
:model="rowInfo"
542-
label-width="180px"
543-
label-position="top"
544-
class="form-content_error"
545-
@submit.prevent
546-
>
542+
<el-form label-width="180px" label-position="top" class="form-content_error" @submit.prevent>
547543
<el-form-item :label="t('professional.business_term')">
548544
<div class="content">
549545
{{ pageForm.word }}

0 commit comments

Comments
 (0)