vue.js判断网址参数是否有效

引入

<script src="../Scripts/vue-router.js"></script>

this.$route.query.info_nbr === undefined ||
this.$route.query.info_nbr === null ||
this.$route.query.info_nbr === ''
原文地址:https://www.cnblogs.com/insus/p/14940150.html