<!DOCTYPE html>
<html>
<head>
<title>如如</title>
</head>
<body>
<div id = "app">
<input type="button" :click = "data" value="点击这里查看日期和时间">
</div>
<script src="https://unpkg.com/vue@next"></script>
<script>
const app = Vue.createApp({
data() {
return data
}
}).mount('#app')
</script>
</body>
</html>