mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-29 10:53:14 +08:00
fix: clear stream configuration when closing website creation page (#11400)
This commit is contained in:
parent
a6c172b1ab
commit
1ae3198b10
1 changed files with 5 additions and 1 deletions
|
|
@ -579,8 +579,9 @@ const WebsiteTypes = getWebsiteTypes();
|
|||
const installFormRef = ref();
|
||||
const lbFormRef = ref();
|
||||
const versionNotMatch = ref();
|
||||
const steamConfig = ref({
|
||||
const initLbForm = () => ({
|
||||
name: '',
|
||||
type: 'stream',
|
||||
algorithm: 'default',
|
||||
servers: [
|
||||
{
|
||||
|
|
@ -594,6 +595,7 @@ const steamConfig = ref({
|
|||
},
|
||||
],
|
||||
});
|
||||
const steamConfig = ref(initLbForm());
|
||||
|
||||
const handleClose = () => {
|
||||
open.value = false;
|
||||
|
|
@ -745,6 +747,8 @@ const acceptParams = async (openrestyVersion: string) => {
|
|||
runtimeReq.value = initRuntimeReq();
|
||||
listAcmeAccount();
|
||||
|
||||
steamConfig.value = initLbForm();
|
||||
|
||||
open.value = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue