fix: Unable to add session variables after editing (#4008)

This commit is contained in:
shaohuzhang1 2025-09-09 11:47:37 +08:00 committed by shaohuzhang1
parent 966d1c3dce
commit e23a12639a

View File

@ -44,7 +44,7 @@
</el-form>
<template #footer>
<span class="dialog-footer">
<el-button @click.prevent="dialogVisible = false"> {{ $t('common.cancel') }} </el-button>
<el-button @click.prevent="close"> {{ $t('common.cancel') }} </el-button>
<el-button type="primary" @click="submit(fieldFormRef)" :loading="loading">
{{ isEdit ? $t('common.save') : $t('common.add') }}
</el-button>