邓洁: 隧道接口部分对接
This commit is contained in:
@@ -114,7 +114,6 @@ onMounted(() => {
|
||||
});
|
||||
getUser()
|
||||
getOtherInfo()
|
||||
|
||||
});
|
||||
const getUser = () => {
|
||||
getUserInfo().then(res => {
|
||||
@@ -134,8 +133,8 @@ const getOtherInfo = () => {
|
||||
}
|
||||
});
|
||||
};
|
||||
const getScreenInfo = async (id) => {
|
||||
await getLargeScreen(id).then((res) => {
|
||||
const getScreenInfo = (id) => {
|
||||
getLargeScreen(id).then((res) => {
|
||||
if (res?.code === 1000) {
|
||||
largeScreenData.value = res.data;
|
||||
}
|
||||
@@ -146,7 +145,7 @@ const getTunnel = (id) => {
|
||||
getTunnelBySiteId(id).then((res) => {
|
||||
if (res?.code === 1000) {
|
||||
tunnelList.value = res.data
|
||||
getScreenInfo(res.data[0].value)
|
||||
// getScreenInfo(res.data[0].value)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user