mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-09 15:06:37 +08:00
fix: Typo in hostname save function and button click (#7475)
This commit is contained in:
parent
d84f0b5597
commit
a77ebd3eb6
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
<el-button @click="drawerVisible = false">{{ $t('commons.button.cancel') }}</el-button>
|
||||
<el-button :disabled="loading" type="primary" @click="onSaveHostame(formRef)">
|
||||
<el-button :disabled="loading" type="primary" @click="onSaveHostname(formRef)">
|
||||
{{ $t('commons.button.confirm') }}
|
||||
</el-button>
|
||||
</span>
|
||||
|
@ -69,7 +69,7 @@ const acceptParams = (params: DialogProps): void => {
|
|||
drawerVisible.value = true;
|
||||
};
|
||||
|
||||
const onSaveHostame = async (formEl: FormInstance | undefined) => {
|
||||
const onSaveHostname = async (formEl: FormInstance | undefined) => {
|
||||
if (!formEl) return;
|
||||
formEl.validate(async (valid) => {
|
||||
if (!valid) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue