<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>复选框独立使用</title>
</head>
<body>
    <div id="app">
        <input type="checkbox" id="agree" v-model="agree" ture-value="同意" false-value="不同意">
        <label for="agree">{{agree}}</label>
    </div>

    <script src="../js/vue.js"></script>

    <script>
        let vm = new Vue({
            el:'#app',
            data:{
                agree:false
            }
        });
    </script>
</body>
</html>