From c1ca728f989e0fb45ab8c0898da72669d3d2bbfd Mon Sep 17 00:00:00 2001 From: liujiangnan <695541723@qq.com> Date: Sun, 15 Sep 2019 12:25:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/common/audio-recorder/audio-recorder.component.html | 2 +- src/index.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/common/audio-recorder/audio-recorder.component.html b/src/app/common/audio-recorder/audio-recorder.component.html index 7bde1bc..d42f088 100644 --- a/src/app/common/audio-recorder/audio-recorder.component.html +++ b/src/app/common/audio-recorder/audio-recorder.component.html @@ -13,7 +13,7 @@ [nzAccept] = "'.mp3'" [nzShowUploadList]="false" [nzBeforeUpload]="beforeUpload"> - <!--nzAction="/user/resource"--> + <!-- nzAction="/user/resource" --> <!--(nzChange)="handleChange($event)"--> diff --git a/src/index.html b/src/index.html index 3c10cc5..a1d7edb 100644 --- a/src/index.html +++ b/src/index.html @@ -47,6 +47,12 @@ alert('æ•°æ®ä¿å˜å¤±è´¥ï¼'); } }); + }, + uploadUrl: function(){ + return net.getUploadFileURL(); + }, + uploadData: function(){ + return net.getAjaxData("uploadFile",""); } } } else { -- 2.21.0