公告板
版本库
活动
搜索
登录
H5
/
leshan-laboratory
乐山实验室h5
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-labor...
13404089107
2025-05-28
a60dc30be50598fe2d1acb42f8171ec69e37b436
[H5/leshan-laboratory.git]
/
laboratory
/
src
/
utils
/
utils.js
1
2
3
4
5
6
7
8
9
10
export const customRequest = (params) => {
const { file, onSuccess, onError } = params;
uploadObs(file)
.then((ret) => {
onSuccess(ret);
})
.catch((ret) => {
onError();
});
};