|
|
|
@ -12,7 +12,9 @@ export default {
|
|
|
|
|
return {}
|
|
|
|
|
},
|
|
|
|
|
props:['iChannelID','monitorId'],
|
|
|
|
|
mounted() {
|
|
|
|
|
async mounted() {
|
|
|
|
|
await this.$nextTick()
|
|
|
|
|
const _this = this
|
|
|
|
|
var g_iWndIndex = 0;
|
|
|
|
|
$(function () {
|
|
|
|
|
// 检查插件是否已经安装过
|
|
|
|
@ -40,7 +42,7 @@ export default {
|
|
|
|
|
console.log("关闭远程配置库!");
|
|
|
|
|
},
|
|
|
|
|
cbInitPluginComplete: function () {
|
|
|
|
|
WebVideoCtrl.I_InsertOBJECTPlugin(this.monitorId);
|
|
|
|
|
WebVideoCtrl.I_InsertOBJECTPlugin(_this.monitorId);
|
|
|
|
|
// 检查插件是否最新
|
|
|
|
|
if (-1 == WebVideoCtrl.I_CheckPluginVersion()) {
|
|
|
|
|
alert("检测到新的插件版本");
|
|
|
|
|