<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-model</title>
</head>
<body>
    <div id="app">
        <textarea name="t1" id="t1" cols="30" rows="10" v-model="msg"></textarea><br>
        <span>文本域内容:</span>{{msg}}
    </div>

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

    <script>
        let vm = new Vue({
           el:'#app',
           data:{
               msg:'初始内容'
           }
        });
    </script>
</body>
</html>