TVVM icon indicating copy to clipboard operation
TVVM copied to clipboard

TVVM is not a constructor

Open alterhu2020 opened this issue 5 years ago • 0 comments

作者你好,按照你的说明书在vue项目中如下引入后:

import * as TVVM from 'tvvm';
var tv = new TVVM({
	focus: {
		defaultFocusIndex: '0-0',
		circle: {
			horizontal: true,
			vertical: true
		}
	}
});

报错如下:

main.js:43 Uncaught TypeError: TVVM is not a constructor
    at Object.D:\vrpano-tv\main.js (main.js:43)
    at __webpack_require__ (bootstrap:766)
    at fn (bootstrap:129)
    at Object.0 (log.js:47)
    at __webpack_require__ (bootstrap:766)
    at bootstrap:901
    at bootstrap:901

能看下这个问题吗?

alterhu2020 avatar Sep 22 '19 09:09 alterhu2020