优化vue/react组件

This commit is contained in:
Harvey Zack committed 2019-06-12 15:34:07 +08:00
1 parent cadfa4efe5
commit 6e44bee87b
12 files changed
+84 -24

No files matched your search

+5 -9
View File
@@ -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',
});
},
};