Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
49c4cee2
Commit
49c4cee2
authored
Mar 11, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuin' into uat
parents
dfab7dd1
8544d65d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
hlsUtil.js
src/scripts/hlsUtil.js
+3
-0
No files found.
src/scripts/hlsUtil.js
View file @
49c4cee2
...
...
@@ -398,7 +398,9 @@ export default {
* @param success
*/
fileUploadSvc
:
function
(
file
,
success
)
{
console
.
log
(
'file'
,
file
)
if
(
file
.
pkvalue
&&
file
.
source_type
){
console
.
log
(
'file1'
,
file
)
let
path
=
file
.
filePath
var
name
=
path
.
substr
(
path
.
lastIndexOf
(
'/'
)
+
1
)
let
url
=
encodeURI
(
process
.
env
.
fileUploadSvcPath
+
'attachment_upload'
)
...
...
@@ -436,6 +438,7 @@ export default {
ft
.
upload
(
path
,
url
,
uploadSuccess
,
fileError
,
options
)
}
else
{
console
.
log
(
'file2'
,
file
)
hlsPopup
.
showLongCenter
(
'上传失败!'
)
}
},
...
...
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