diff --git a/agent/app/dto/response/website.go b/agent/app/dto/response/website.go index cbeaa0821..ed0ad4cdb 100644 --- a/agent/app/dto/response/website.go +++ b/agent/app/dto/response/website.go @@ -37,6 +37,7 @@ type WebsiteRes struct { ChildSites []string `json:"childSites"` RuntimeType string `json:"runtimeType"` Favorite bool `json:"favorite"` + IPV6 bool `json:"IPV6"` } type WebsiteOption struct { diff --git a/agent/app/service/website.go b/agent/app/service/website.go index 33cdf83eb..24b9ec543 100644 --- a/agent/app/service/website.go +++ b/agent/app/service/website.go @@ -202,6 +202,7 @@ func (w WebsiteService) PageWebsite(req request.WebsiteSearch) (int64, []respons AppInstallID: appInstallID, RuntimeType: runtimeType, Favorite: web.Favorite, + IPV6: web.IPV6, } sites, _ := websiteRepo.List(websiteRepo.WithParentID(web.ID)) diff --git a/frontend/src/views/website/website/config/basic/other/index.vue b/frontend/src/views/website/website/config/basic/other/index.vue index a0e55c709..ff282f448 100644 --- a/frontend/src/views/website/website/config/basic/other/index.vue +++ b/frontend/src/views/website/website/config/basic/other/index.vue @@ -101,6 +101,7 @@ const search = async () => { form.webSiteGroupId = res.data.webSiteGroupId; form.IPV6 = res.data.IPV6; form.alias = res.data.alias; + form.favorite = res.data.favorite; }); };