Here is my html code :
<button type="button" class="btn btn-default btn-block" v-for="x in filterName" v-on:click="passuserid(x.rsid)"> <router-link v-bind:to="'/combo/'"><b>{{x.last_name}}</b>
我想爲我的孩子路線定義一個beforeEnter後衛,但我沒有成功。這裏是我的路由配置: ...
{
path: '/',
component: App
beforeEnter: (to, from, next) ->
# This block is only reached when I refresh the page
child
的Internet Explorer 11和Microsoft邊緣顯示我一個空白頁面加載我Vue的應用程序時。控制檯日誌顯示「未知名」的錯誤指着vue.esm.js行「扔E」: Watcher.prototype.get = function get() {
pushTarget(this);
var value;
var vm = this.vm;
try {
value = this