hookehuyr

refactor(上传组件): 移除失败时的错误提示弹窗

......@@ -259,11 +259,11 @@ const chooseMedia = () => {
},
fail: (err) => {
console.error('选择媒体文件失败:', err);
Taro.showToast({
title: '选择文件失败',
icon: 'error',
duration: 2000
});
// Taro.showToast({
// title: '选择文件失败',
// icon: 'error',
// duration: 2000
// });
}
});
};
......
......@@ -269,11 +269,11 @@ const chooseMedia = () => {
},
fail: (err) => {
console.error('选择媒体文件失败:', err);
Taro.showToast({
title: '选择文件失败',
icon: 'error',
duration: 2000
});
// Taro.showToast({
// title: '选择文件失败',
// icon: 'error',
// duration: 2000
// });
}
});
};
......