mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 00:09:16 +08:00
fix: Typo in hostname save function and button click (#7475)
This commit is contained in:
parent
d84f0b5597
commit
a77ebd3eb6
@ -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…
x
Reference in New Issue
Block a user