@pengzhanbo/utils - v3.4.1
    Preparing search index...

    Function shallowClone

    • shallow clone, only clone the first level

      浅克隆,只克隆第一层

      Type Parameters

      • T = any

      Parameters

      • source: T

        The source data to clone. 要克隆的源数据

      Returns T

      The cloned data. 克隆后的数据