Interface IQSReplaceOptions

替换查询字符串的选项。

Hierarchy

Properties

decode?: ((content) => string)

Type declaration

    • (content): string
    • 键和值的解码函数,默认为 decodeURIComponent。

      Parameters

      • content: string

      Returns string

encode?: ((content) => string)

Type declaration

    • (content): string
    • 键和值的编码函数,默认为 encodeURIComponent。

      Parameters

      • content: string

      Returns string

ignoreEmpty?: boolean

序列化参数时是否忽略空值(null、undefined、空字符串)参数,默认为 false。

Generated using TypeDoc