Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
17fb5378
Commit
17fb5378
authored
Dec 04, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 文件访问无权限提示
parent
b749dca0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
fileList.js
components/fileList/fileList.js
+7
-2
config.js
config.js
+1
-1
No files found.
components/fileList/fileList.js
View file @
17fb5378
...
...
@@ -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'
})
}
}
})
})
...
...
config.js
View file @
17fb5378
export
const
globalUrl
=
"https://gateway-ding.mingwork.com"
;
export
const
globalUrl2
=
"https://third-authentication.mingwork.com"
;
export
const
version
=
0.05
1
;
export
const
version
=
0.05
4
;
export
const
websocketUrl
=
'wss://gateway-ding.mingwork.com'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment