new-map
ihzero 2022-11-10 17:50:32 +08:00
parent 4f5c6432b1
commit 5dccf7413c
5 changed files with 9 additions and 7 deletions

View File

@ -13,7 +13,6 @@ export function getDevices(params, mode: ErrorMessageMode = 'modal') {
},
{
errorMessageMode: mode,
isTransformResponse: false,
},
)
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -26,7 +26,8 @@
</template>
<script lang="ts" setup>
import HeadIcon from '/@/assets/images/head-icon.png'
// import HeadIcon from '/@/assets/images/head-icon.png'
import HeadIcon from '/@/assets/images/title.gif'
defineProps({
title: {
type: String as PropType<string>,

View File

@ -85,7 +85,7 @@
show: true,
position: 'inside',
color: '#fff',
valueAnimation: true,
// valueAnimation: true,
},
itemStyle: {
color: 'rgba(117, 232, 238, 0.5)',
@ -95,10 +95,10 @@
],
grid: { left: '2%', right: '2%', top: '0%', bottom: '2%', containLabel: true },
animationDuration: 0,
animationDurationUpdate: 3000,
animationEasing: 'linear',
animationEasingUpdate: 'linear',
// animationDuration: 0,
// animationDurationUpdate: 3000,
// animationEasing: 'linear',
// animationEasingUpdate: 'linear',
})
}

View File

@ -113,6 +113,8 @@
type: 1,
status: 1,
})
console.log(resData)
Data.list = resData.map((e, index) => {
const { username, passage, ip, port, rtsp_url } = e.extends
const url = `rtsp://${username}:${passage}@${ip}:${port}${rtsp_url}`