HTTP Header - CORS跨域设置增加多个选项

This commit is contained in:
刘祥超
2023-05-19 16:32:28 +08:00
parent 79b4054e31
commit 1f5894ff82
3 changed files with 97 additions and 9 deletions

View File

@@ -125,6 +125,7 @@ Vue.component("http-header-policy-box", {
},
updateCORS: function (policyId) {
teaweb.popup("/servers/server/settings/headers/updateCORSPopup?" + this.vParams + "&headerPolicyId=" + policyId + "&type=" + this.type, {
height: "30em",
callback: function () {
teaweb.successRefresh("保存成功")
}