fix: Fix the issue where pressing Enter to submit in description edit… (#10972)

…ing does not take effect
This commit is contained in:
ssongliu 2025-11-16 20:18:53 -08:00 committed by GitHub
parent a4d77a1cc2
commit 6ca352bf85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 42 additions and 10 deletions

View file

@ -38,7 +38,7 @@
"crypto-js": "^4.2.0",
"echarts": "^5.5.0",
"element-plus": "^2.11.2",
"fit2cloud-ui-plus": "^1.2.2",
"fit2cloud-ui-plus": "^1.2.3",
"highlight.js": "^11.9.0",
"js-base64": "^3.7.7",
"jsencrypt": "^3.3.2",

View file

@ -81,7 +81,7 @@
show-overflow-tooltip
>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch v-model="row.description" @enter="onChange(row)" @blur="onChange(row)" />
</template>
</el-table-column>
<el-table-column

View file

@ -192,7 +192,11 @@
</el-table-column>
<el-table-column :label="$t('commons.table.description')" prop="description" show-overflow-tooltip>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<el-table-column

View file

@ -158,7 +158,11 @@
</el-table-column>
<el-table-column :label="$t('commons.table.description')" prop="description" show-overflow-tooltip>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<el-table-column

View file

@ -115,7 +115,11 @@
show-overflow-tooltip
>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<fu-table-operations

View file

@ -92,7 +92,11 @@
show-overflow-tooltip
>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<fu-table-operations

View file

@ -140,7 +140,11 @@
show-overflow-tooltip
>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<fu-table-operations

View file

@ -177,7 +177,11 @@
</el-table-column>
<el-table-column :label="$t('commons.table.description')" prop="description" show-overflow-tooltip>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<el-table-column

View file

@ -137,7 +137,11 @@
</el-table-column>
<el-table-column :label="$t('commons.table.description')" prop="description" show-overflow-tooltip>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<fu-table-operations

View file

@ -123,7 +123,11 @@
show-overflow-tooltip
>
<template #default="{ row }">
<fu-input-rw-switch v-model="row.description" @blur="onChange(row)" />
<fu-input-rw-switch
v-model="row.description"
@enter="onChange(row)"
@blur="onChange(row)"
/>
</template>
</el-table-column>
<fu-table-operations