File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
frontend/src/views/website/website/create Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -579,8 +579,9 @@ const WebsiteTypes = getWebsiteTypes();
579579const installFormRef = ref ();
580580const lbFormRef = ref ();
581581const versionNotMatch = ref ();
582- const steamConfig = ref ({
582+ const initLbForm = () => ({
583583 name: ' ' ,
584+ type: ' stream' ,
584585 algorithm: ' default' ,
585586 servers: [
586587 {
@@ -594,6 +595,7 @@ const steamConfig = ref({
594595 },
595596 ],
596597});
598+ const steamConfig = ref (initLbForm ());
597599
598600const handleClose = () => {
599601 open .value = false ;
@@ -745,6 +747,8 @@ const acceptParams = async (openrestyVersion: string) => {
745747 runtimeReq .value = initRuntimeReq ();
746748 listAcmeAccount ();
747749
750+ steamConfig .value = initLbForm ();
751+
748752 open .value = true ;
749753};
750754
You can’t perform that action at this time.
0 commit comments