Compare commits

..

2 Commits

Author SHA1 Message Date
d687a53ea1 Merge branch 'main' of http://47.107.152.87:3000/dyf/APP 2026-04-01 15:05:21 +08:00
d2c2e42d06 语音提交 2026-04-01 15:05:18 +08:00

View File

@ -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) => {