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