Commit 5837f8f9 authored by youjie's avatar youjie

no message

parent 90253a9c
...@@ -133,17 +133,17 @@ ...@@ -133,17 +133,17 @@
} }
}, },
play(Src) { play(Src) {
let arr = Src.split(" "); //按空格分段 // let arr = Src.split(" "); //按空格分段
var MySrc=''; // var MySrc='';
arr.map((e) => { // arr.map((e) => {
if (e.indexOf("src") != -1) { // if (e.indexOf("src") != -1) {
let Before = e.split("url=")[0] // let Before = e.split("url=")[0]
if (Before) { // if (Before) {
MySrc = decodeURIComponent(Before.slice(4, -1)); // MySrc = decodeURIComponent(Before.slice(4, -1));
} // }
} // }
}); // });
MySrc = MySrc + " "+ arr[11] // MySrc = MySrc + " "+ arr[11]
if(data.isPlay){ if(data.isPlay){
innerAudioContext.pause(); innerAudioContext.pause();
data.isPlay=false; data.isPlay=false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment