语音提交
This commit is contained in:
@ -392,7 +392,7 @@
|
|||||||
let data = {
|
let data = {
|
||||||
fileName: this.cEdit.fileNameExt,
|
fileName: this.cEdit.fileNameExt,
|
||||||
deviceId: this.device.deviceId,
|
deviceId: this.device.deviceId,
|
||||||
fileId: item.fileId
|
id: item.id
|
||||||
}
|
}
|
||||||
videRenameAudioFile(data).then((res) => {
|
videRenameAudioFile(data).then((res) => {
|
||||||
console.log('res');
|
console.log('res');
|
||||||
@ -440,8 +440,8 @@
|
|||||||
}
|
}
|
||||||
let task = () => {
|
let task = () => {
|
||||||
const devId = this.device.deviceId;
|
const devId = this.device.deviceId;
|
||||||
const vid = (item.id != null && item.id !== '') ? item.id : item.fileId;
|
const vid = (item.id != null && item.id !== '') ? item.id : item.id;
|
||||||
deviceDeleteAudioFile({ fileId: item.fileId, deviceId: devId }).then((res) => {
|
deviceDeleteAudioFile({ id: item.id, deviceId: devId }).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
if (devId && vid != null && vid !== '') remove100JVoiceBleCache(devId, vid);
|
if (devId && vid != null && vid !== '') remove100JVoiceBleCache(devId, vid);
|
||||||
uni.showToast({ title: res.msg, icon: 'none', duration: 1000 });
|
uni.showToast({ title: res.msg, icon: 'none', duration: 1000 });
|
||||||
@ -528,7 +528,7 @@
|
|||||||
? (raw.startsWith('/') ? (baseURL + raw) : raw)
|
? (raw.startsWith('/') ? (baseURL + raw) : raw)
|
||||||
: '';
|
: '';
|
||||||
const data = {
|
const data = {
|
||||||
id: (item.id != null && item.id !== '') ? item.id : item.fileId,
|
id: item.id,
|
||||||
fileUrl,
|
fileUrl,
|
||||||
localPath: '',
|
localPath: '',
|
||||||
onProgress: (p) => {
|
onProgress: (p) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user