111
This commit is contained in:
parent
50454c3ada
commit
003c1261c1
|
@ -6,14 +6,14 @@
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>公共服务一体化驾驶舱</title>
|
<title>公共服务一体化驾驶舱</title>
|
||||||
<script type="text/javascript"
|
<!-- <script type="text/javascript"
|
||||||
src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=2KLQUajGSpNL2DInxT6BwdPklMNpG3hw"></script>
|
src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=2KLQUajGSpNL2DInxT6BwdPklMNpG3hw"></script> -->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
<!-- <script type="text/javascript" src="/baiduMap.js"></script> -->
|
<script type="text/javascript" src="/baiduMap.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
File diff suppressed because one or more lines are too long
|
@ -190,9 +190,7 @@ const timeT=ref(null);
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// 初始调用 updateClock 以立即显示时间
|
// 初始调用 updateClock 以立即显示时间
|
||||||
updateClock();
|
updateClock();
|
||||||
|
|
||||||
data.nowTab = router.currentRoute.value.fullPath;
|
data.nowTab = router.currentRoute.value.fullPath;
|
||||||
|
|
||||||
// 每隔一秒钟调用一次 updateClock 以更新时钟显示
|
// 每隔一秒钟调用一次 updateClock 以更新时钟显示
|
||||||
timeT.value=setInterval(updateClock, 1000);
|
timeT.value=setInterval(updateClock, 1000);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue