Commit f39652a4 by liangjianmin

新增全局样式和按钮组件,优化图片上传功能,调整API上传路径以对齐sc_wms_app

parent a95c16ce
......@@ -298,9 +298,9 @@
// 获取压缩后的图片路径
const compressedImagePath = compressedRes.tempFilePath;
// 在这里处理压缩后的图片,上传到服务器
// 在这里处理压缩后的图片,上传到服务器(对齐 sc_wms_app,走 OSS uploadImage)
uni.uploadFile({
url: API.upload + '?sys_type=4',
url: API.uploadImage + '?sys_type=4',
filePath: compressedImagePath,
name: 'file',
timeout: 10000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment