<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-model</title>
</head>
<body>
    <div id="app">
        <select name="ball2" id="ball2" v-model="love" multiple>
            <option value="s1">篮球</option>
            <option value="s2">足球</option>
            <option value="s3">排球</option>
            <option value="s4">铅球</option>
        </select>
        <span>爱好:{{love}}</span>
    </div>

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

    <script>
        let vm = new Vue({
           el:'#app',
           data:{
               love:['s3']
           }
        });
    </script>
</body>
</html>