vue.js获取url参数的方法 2018-07-25 本文已影响33人 践道修行者 通过this.$route.query.参数名 获取 如 created() { const name = this.$route.query.name }