diff --git a/frontend/src/views/website/website/create/index.vue b/frontend/src/views/website/website/create/index.vue index 283049221..497d6b787 100644 --- a/frontend/src/views/website/website/create/index.vue +++ b/frontend/src/views/website/website/create/index.vue @@ -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; };