getFullPath

获取完整路径(用于查看\删除等操作),传入相对路径,生成完整路径

使用说明

import { getFullPath } from "@yl/super-jssdk"
getFullPath(optional)

参数说明

参数 类型 必填 作用
optional object 必选参数

optional

参数 类型 必填 作用
path string 文件的相对路径

返回说明

返回完整路径字符串

代码示例

getFullPath({path: '/images/asd.png'});

results matching ""

    No results matching ""