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-17 04:18:53 +00:00
committed by GitHub
parent a4d77a1cc2
commit 6ca352bf85
10 changed files with 42 additions and 10 deletions
+1 -1
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",
+1 -1
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
+5 -1
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
+5 -1
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
+5 -1
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