RuoYi
2021-10-10 b1e5ebab8f2d522b876a46f6a60f37227a6de1e5
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>