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, errorMessageMode: mode,
isTransformResponse: false,
}, },
) )
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -26,7 +26,8 @@
</template> </template>
<script lang="ts" setup> <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({ defineProps({
title: { title: {
type: String as PropType<string>, type: String as PropType<string>,

View File

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

View File

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