@shijiu/jsview-vue 1.9.872 → 1.9.874
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//考虑到.vue文件除了export default的component外,还有可能export其他对象,因此使用import * as
|
|
2
|
-
import
|
|
2
|
+
import { default as JsvPlayer } from "./JsvPlayer.vue";
|
|
3
3
|
import { globalLoadJsvPlayerPlugin as initPlugin } from "./JsvMedia.js"
|
|
4
4
|
import { getJsvPlayerCapabilitySet as getCapabilitySet } from "./JsvMedia.js"
|
|
5
5
|
import { setJsvPlayerDebugMode as setDebugMode } from "./JsvMedia.js"
|
|
@@ -41,10 +41,8 @@ if (window.jsvIsBrowserDebug) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
let component = _JsvPlayer.default;
|
|
45
|
-
|
|
46
|
-
export default component;
|
|
47
44
|
export {
|
|
45
|
+
_JsvPlayer as JsvPlayer,
|
|
48
46
|
globalLoadJsvPlayerPlugin, // 全局初始化播放器插件处理
|
|
49
47
|
getJsvPlayerCapabilitySet, //获取设备能力集
|
|
50
48
|
setJsvPlayerDebugMode, //设置调试模式,可以查看帧率等信息
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module '*.js'
|