Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_10
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
dfzx_10
Commits
c1ca728f
Commit
c1ca728f
authored
Sep 15, 2019
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加上传文件接口
parent
bce5060a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
audio-recorder.component.html
src/app/common/audio-recorder/audio-recorder.component.html
+1
-1
index.html
src/index.html
+6
-0
No files found.
src/app/common/audio-recorder/audio-recorder.component.html
View file @
c1ca728f
...
...
@@ -13,7 +13,7 @@
[
nzAccept
]
=
"'.
mp3
'"
[
nzShowUploadList
]="
false
"
[
nzBeforeUpload
]="
beforeUpload
"
>
<!--
nzAction="/user/resource"
-->
<!--
nzAction="/user/resource"
-->
<!--(nzChange)="handleChange($event)"-->
...
...
src/index.html
View file @
c1ca728f
...
...
@@ -47,6 +47,12 @@
alert
(
'
数据保存失败!
'
);
}
});
},
uploadUrl
:
function
(){
return
net
.
getUploadFileURL
();
},
uploadData
:
function
(){
return
net
.
getAjaxData
(
"
uploadFile
"
,
""
);
}
}
}
else
{
...
...
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