API > @angular/httpmode_edit codeQueryEncoderlinkclass 已弃用目录方法encodeKey()encodeValue()已弃用: see https://angular.io/guide/httpclass QueryEncoder { encodeKey(key: string): string encodeValue(value: string): string } class QueryEncoder { encodeKey(key: string): string encodeValue(value: string): string } 方法linkencodeKey() linkmode_edit codeencodeKey(key: string): string encodeKey(key: string): string 参数 key string返回值stringencodeValue() linkmode_edit codeencodeValue(value: string): string encodeValue(value: string): string 参数 value string返回值string