Commit 160b0b53 authored by liujiangnan's avatar liujiangnan

feat

parent 2ef4ecdc
......@@ -107,6 +107,10 @@ cc.Class({
}
getData((data) => {
console.log('data:', data);
if (data) {
data = JSON.stringify(data).replace(".mp4","_h.mp4").replace("_l_h.mp4", "_h.mp4").replace("_h_h.mp4", "_h.mp4");
data = JSON.parse(data);
}
this.data = data || this.getDefaultData();
this.preloadItem()
})
......
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