未验证 提交 0c2ab581 编写于 作者: O openharmony_ci 提交者: Gitee

!15467 fix doc error SecureDnsMode

Merge pull request !15467 from wanghui/master
......@@ -245,7 +245,7 @@ export default class EntryAbility extends UIAbility {
}
```
### setHttpDns
### setHttpDns<sup>10+</sup>
static setHttpDns(secureDnsMode:SecureDnsMode, secureDnsConfig:string): void
......@@ -5212,7 +5212,7 @@ struct WebComponent {
| isSupportCORS | boolean | 是 | 是 | 是否支持跨域请求。 |
| isSupportFetch | boolean | 是 | 是 | 是否支持fetch请求。 |
## SecureDnsMode
## SecureDnsMode<sup>10+</sup>
Web組件使用HTTPDNS的模式。
......@@ -5221,5 +5221,5 @@ Web組件使用HTTPDNS的模式。
| 名称 | 值 | 说明 |
| ------------- | -- |----------------------------------------- |
| Off | 0 |不使用HTTPDNS, 可以用于撤销之前使用的HTTPDNS配置。|
| Automatic | 1 |自动模式,用于解析的设定dns服务器不可用时,可自动回落至built-in DNS及系统DNS。|
| Auto | 1 |自动模式,用于解析的设定dns服务器不可用时,可自动回落至系统DNS。|
| SecureOnly | 2 |强制使用设定的HTTPDNS服务器进行域名解析。|
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册