vue中怎么使用定时器让一个div两秒后显示

<!doctype html>
<html lang="en">
<head>

<meta charset\="UTF-8"\>  
<meta name\="viewport"  

content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

<meta http-equiv\="X-UA-Compatible" content\="ie=edge"\>  
<title\>Document</title\>  

</head>
<body>
<div id="divid">

131313  

</div>

</body>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>

</script>
</html>

待解决 悬赏分:30 - 离问题结束还有 504天12小时18分52秒
反对 0举报 0 收藏 0

我来回答

回答2