<!DOCTYPE html>
<html lang="en">

<head>
    
    
    
    <title>Document</title>
</head>


    <div>
        <div>
            <label>年龄:</label>
            
        </div>
        <div>当前输入的年龄是: {{age}}</div>
        <button @click="add">加一岁</button>
        <button @click="alertYear">弹出年龄</button>
    </div>




</html>