mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
修复配置全局变量bug
This commit is contained in:
1 parent
b74eabc73b
commit
3de25525c4
44 files changed
+2477
-672
No files matched your search
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-react",
|
||||
"version": "3.1.7",
|
||||
"expose": "ArtplayerReact",
|
||||
"description": "React Component for Artplayer",
|
||||
"main": "dist/artplayer-react.js",
|
||||
"style": "dist/artplayer-react.css",
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import Artplayer from 'artplayer';
|
||||
import 'artplayer/dist/artplayer.css';
|
||||
|
||||
export default class ArtplayerComponent extends React.Component {
|
||||
export default class ArtplayerReact extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
Artplayer.utils.errorHandle(
|
||||
|
||||
Reference in new issue
Block a user