mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
优化vue/react组件
This commit is contained in:
1 parent
cadfa4efe5
commit
6e44bee87b
12 files changed
+84
-24
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import Artplayer from 'artplayer';
|
||||
import 'artplayer/dist/artplayer.css';
|
||||
import Artplayer from '../../artplayer';
|
||||
import '../../artplayer/src/style';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
@@ -28,12 +28,8 @@ export default {
|
||||
}
|
||||
},
|
||||
render(h) {
|
||||
return h(
|
||||
'div',
|
||||
{
|
||||
ref: 'artRef',
|
||||
},
|
||||
'render',
|
||||
);
|
||||
return h('div', {
|
||||
ref: 'artRef',
|
||||
});
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user