データのフィルタリングに役立つ機能があります。v-on:changeユーザーが選択を変更したときに使用していますが、ユーザーがデータを選択する前でも関数を呼び出す必要があります。AngularJS以前の使用でng-initも同じことをしましたが、そのようなディレクティブがないことを理解していますvue.js 
これは私の機能です:
getUnits: function () {
        var input = {block: this.block, floor: this.floor, unit_type: this.unit_type, status: this.status};
        this.$http.post('/admin/units', input).then(function (response) {
            console.log(response.data);
            this.units = response.data;
        }, function (response) {
            console.log(response)
        });
    }
ではblade、ファイルIは、フィルタを実行するために、ブレードのフォームを使用します。
<div class="large-2 columns">
        {!! Form::select('floor', $floors,null, ['class'=>'form-control', 'placeholder'=>'All Floors', 'v-model'=>'floor', 'v-on:change'=>'getUnits()' ]) !!}
    </div>
    <div class="large-3 columns">
        {!! Form::select('unit_type', $unit_types,null, ['class'=>'form-control', 'placeholder'=>'All Unit Types', 'v-model'=>'unit_type', 'v-on:change'=>'getUnits()' ]) !!}
    </div>
特定のアイテムを選択すると、これは正常に機能します。次に、すべてをクリックするとall floors、それは機能します。私が必要としているのは、ページがロードされるときに、空の入力getUnitsでを実行するメソッドを呼び出すこと$http.postです。バックエンドでは、入力が空の場合にすべてのデータを提供するようにリクエストを処理しました。
どうすればこれを行うことができvuejs2ますか?
私のコード:http://jsfiddle.net/q83bnLrx