大屏设计

This commit is contained in:
yanran200730
2021-12-24 17:42:43 +08:00
parent 4a7895b0e2
commit ce8be993fe
3 changed files with 5 additions and 4 deletions

View File

@@ -82,7 +82,7 @@
if (item.dataType !== 'staticData' && ((item.type.indexOf('Chart') > -1) || item.type === 'table' || item.type === 'summary')) {
this.getSourceData(item, index)
}
if (item.type === 'monitor' && item.monitorType !== 'hik') {
if (item.type === 'monitor' && item.monitorType !== 'hik' && item.monitorType !== 'dahua') {
this.instance.post(`${this.urlPrefix}/appzyvideoequipment/getWebSdkUrl?deviceId=${item.moniterId}`).then(res => {
if (res.code == 0) {
this.$set(this.componentList[index], 'src', JSON.parse(res.data).url)