|
@@ -265,7 +265,7 @@
|
|
|
console.log('播放', url)
|
|
|
console.log('播放', code)
|
|
|
const cachedPath = await cacheAudio(url);
|
|
|
- if (cachedPath.includes('.mp3')) {
|
|
|
+ if (cachedPath && cachedPath.includes('.mp3')) {
|
|
|
// console.log('地址:', cachedPath)
|
|
|
AudioP.play(cachedPath, code);
|
|
|
} else {
|