RuoYi
2020-05-13 f3d0bf6c2697d8a79059bbba5eb9af7e92d7208d
ruoyi-ui/src/views/redirect.vue
@@ -1,12 +1,12 @@
<script>
export default {
  created() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },
  render: function(h) {
    return h() // avoid warning message
  }
}
</script>
<script>
export default {
  created() {
    const { params, query } = this.$route
    const { path } = params
    this.$router.replace({ path: '/' + path, query })
  },
  render: function(h) {
    return h() // avoid warning message
  }
}
</script>