更新components.js

This commit is contained in:
刘祥超
2023-06-03 09:09:18 +08:00
parent 81f7364e93
commit 2ea2be43d3
2 changed files with 22 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -3894,7 +3894,8 @@ Vue.component("ssl-config-box", {
props: [ props: [
"v-ssl-policy", "v-ssl-policy",
"v-protocol", "v-protocol",
"v-server-id" "v-server-id",
"v-support-http3"
], ],
created: function () { created: function () {
let that = this let that = this
@@ -3918,6 +3919,7 @@ Vue.component("ssl-config-box", {
cipherSuitesIsOn: false, cipherSuitesIsOn: false,
cipherSuites: [], cipherSuites: [],
http2Enabled: true, http2Enabled: true,
http3Enabled: false,
ocspIsOn: false ocspIsOn: false
} }
} else { } else {
@@ -4295,6 +4297,15 @@ Vue.component("ssl-config-box", {
</div> </div>
</td> </td>
</tr> </tr>
<tr v-show="vProtocol == 'https' && vSupportHttp3">
<td class="title">启用HTTP/3</td>
<td>
<div class="ui checkbox">
<input type="checkbox" value="1" v-model="policy.http3Enabled"/>
<label></label>
</div>
</td>
</tr>
<tr> <tr>
<td class="title">选择证书</td> <td class="title">选择证书</td>
<td> <td>