返回自定义类型

This commit is contained in:
zhw2590582 committed 2020-05-29 22:04:01 +08:00
1 parent 2e84a2a1cf
commit f53f4e8ef0
3 files changed
+38 -32

No files matched your search

+4 -1
View File
@@ -16,7 +16,10 @@ export default function urlMix(art, player) {
if (typeName && typeCallback) {
sleep().then(() => {
art.loading.show = true;
typeCallback.call(art, $video, url, art);
const result = typeCallback.call(art, $video, url, art);
def(art, typeName, {
value: result,
});
});
} else {
$video.src = url;