陷入死循环
mounted: function() { location.reload(); },
正确方法
1 mounted: function() { 2 if (location.href.indexOf("#reloaded") == -1) { 3 location.href = location.href + "#reloaded"; 4 location.reload(); 5 } 6 },