liko
    Preparing search index...

    Function getPathRoot

    • 获取 URL 的根路径

      Parameters

      • url: string

        输入的 URL 字符串

      Returns string

      以斜杠结尾的根路径字符串