mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-19 05:49:02 +08:00
fix: Fix the issue where pressing Enter to submit in description edit… (#10972)
…ing does not take effect
This commit is contained in:
parent
a4d77a1cc2
commit
6ca352bf85
10 changed files with 42 additions and 10 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue