删除文件
接口说明
根据相对或绝对路径删除文件(只删除当前We码下的文件)。
HWH5.removeFile
请求参数
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| path | String | 必填 | 要删除文件的路径 | 
返回说明
| 参数 | 说明 | 
|---|---|
| status | 成功:1. | 
请求示例
  HWH5.removeFile({
    path: './download/test.png'
  }).then(data => {
    console.log(data);
  }).catch(error => {
    console.log('删除文件失败', error);
  });
  HWH5.removeFile({
    path: './download/test.png'
  }).then(function (data) {
    console.log(data);
  }).catch(function (error) {
    console.log('删除文件失败', error);
  });