Commit 17fb5378 by xiexiaoqin

fix: 文件访问无权限提示

parent b749dca0
......@@ -93,7 +93,7 @@ create.Component({
spaceId: file.spaceId,
fileId: file.fileId,
fileName: file.name,
fileSize: parseInt(file.size),
fileSize: Number(file.size),
fileType: file.mimeType,
success: function (res) {
console.log(res);
......@@ -101,7 +101,12 @@ create.Component({
},
fail: function (err) {
console.log(err);
// 无,直接在native页面显示具体的错误
if (err.error == 3) {
dd.showToast({
content: '您没有权限',
type: 'fail'
})
}
}
})
})
......
export const globalUrl = "https://gateway-ding.mingwork.com";
export const globalUrl2 = "https://third-authentication.mingwork.com";
export const version = 0.051;
export const version = 0.054;
export const websocketUrl = 'wss://gateway-ding.mingwork.com';
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 to comment