|
@@ -292,17 +292,6 @@ export default {
|
|
} else {
|
|
} else {
|
|
console.log('连接失败,下载客户端')
|
|
console.log('连接失败,下载客户端')
|
|
this.alertReinstall()
|
|
this.alertReinstall()
|
|
- this.isShowTipe && this.$modal.confirm({
|
|
|
|
- title: '下载客户端',
|
|
|
|
- content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
|
|
|
|
- onOk: () => {
|
|
|
|
- //这里写下载方法
|
|
|
|
- this.isShowTipe = false
|
|
|
|
- },
|
|
|
|
- onCancel: () => {
|
|
|
|
- this.isShowTipe = false
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
getDahuaVideoServer().then(newResponse => {
|
|
getDahuaVideoServer().then(newResponse => {
|
|
@@ -425,17 +414,6 @@ export default {
|
|
} else {
|
|
} else {
|
|
console.log('连接失败,下载客户端')
|
|
console.log('连接失败,下载客户端')
|
|
this.alertReinstall()
|
|
this.alertReinstall()
|
|
- this.isShowTipe && this.$modal.confirm({
|
|
|
|
- title: '下载客户端',
|
|
|
|
- content: '检测到您未安装部分插件,将影响部分功能使用,请下载后使用?',
|
|
|
|
- onOk: () => {
|
|
|
|
- //这里写下载方法
|
|
|
|
- this.isShowTipe = false
|
|
|
|
- },
|
|
|
|
- onCancel: () => {
|
|
|
|
- this.isShowTipe = false
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
this.preview()
|
|
this.preview()
|