Skip to content
On this page

cleanFileUrl

去掉url的域名和协议(仅限https格式)

使用

ts
import { cleanFileUrl } from '@yu-kit/utils'

文档

传入参数

  • string
带https的链接

返回参数

  • string
去掉https的链接